Date: Wed, 9 Oct 2002 19:40:02 -0700 (PDT) From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/43878: www/pound : upgrade to 0.11 Message-ID: <200210100240.g9A2e2G1083759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/43878; it has been noted by GNATS. From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/43878: www/pound : upgrade to 0.11 Date: Thu, 10 Oct 2002 04:37:54 +0200 Oups... I noticed some problems under 4.x systems... It works perfectly with current and 4.3-release The problem comes from sys/types.h revision 1.40.2.2 so OSVERSION from 430001 to 470000... I don't know exactly when it was imported into -current... maybe about OSVERSION 500018 So here's a (who says dirty ? :) patch to correct it (not on ald current systems) diff -Nru pound.bad/Makefile pound/Makefile --- pound.bad/Makefile Wed Oct 9 23:50:45 2002 +++ pound/Makefile Thu Oct 10 04:33:48 2002 @@ -15,8 +15,10 @@ MAINTAINER= anders@FreeBSD.org +HAS_CONFIGURE= yes +USE_REINPLACE= yes + WRKSRC= ${WRKDIR}/${PORTNAME} -HAS_CONFIGURE=yes MAKE_ARGS+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" \ @@ -24,10 +26,19 @@ MAN8= pound.8 +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} > 430001 + @${REINPLACE_CMD} -e 's!typedef uint16_t!//typedef uint16_t!' ${WRKSRC}/pound.h + @${REINPLACE_CMD} -e 's!typedef uint32_t!//typedef uint32_t!' ${WRKSRC}/pound.h +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pound ${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/pound.8 ${PREFIX}/man/man8/ @${ECHO} "===> Installing ${PREFIX}/etc/rc.d/pound.sh" @${ECHO} "===> startup file as ${PREFIX}/etc/rc.d/pound.sh.sample" @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/pound.sh ${PREFIX}/etc/rc.d/pound.sh.sample -.include <bsd.port.mk> + +.include <bsd.port.post.mk> clem To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210100240.g9A2e2G1083759>