Re: socklog and uschedule

Neil Booth <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
I've updated runit, socklog and uschedule, and added ipsvd.

None of these require the errno hack; it seems poor form to
taint them with djb's kludge.

Hence I added a new variable to the above Makefiles; could
you please apply this patch to mk/djbware.mk?

When I do a pkglint on the Makefiles with this patch applied,
I get a complaint that DBJ_ERRNO_HACK is unused.  Is this a
pkglint bug, or am I doing something wrong?  It certainly
seems used to me, and is having the intended effect.

Neil.

Index: djbware.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/djbware.mk,v
retrieving revision 1.16
diff -u -p -r1.16 djbware.mk
--- djbware.mk	2 Apr 2006 17:40:19 -0000	1.16
+++ djbware.mk	29 Apr 2006 10:50:40 -0000
@@ -40,6 +40,7 @@ DJB_CONFIG_DIR?=	${WRKSRC}
 DJB_CONFIG_PREFIX?=	${PREFIX}
 DJB_CONFIG_HOME?=	conf-home
 DJB_CONFIG_CMDS?=	${DO_NADA}
+DJB_ERRNO_HACK?=	YES
 
 .if !empty(DJB_RESTRICTED:M[yY][eE][sS])
 RESTRICTED=		"modified source and binaries may not be distributed"
@@ -80,8 +81,10 @@ do-build:
 	cd ${WRKSRC} && package/compile ${DJB_BUILD_ARGS}
 .endif
 
+.if !empty(DJB_ERRNO_HACK:M[yY][eE][sS])
 PKG_SUPPORTED_OPTIONS+=	djbware-errno-hack
 PKG_SUGGESTED_OPTIONS+=	djbware-errno-hack
+.endif
 
 .include "../../mk/bsd.prefs.mk"
 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.