| Summary: | www/pound : upgrade to 0.11 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Clement Laforet <sheepkiller> | ||||
| Component: | Individual Port(s) | Assignee: | Anders Nordby <anders> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Clement Laforet
2002-10-09 23:00:17 UTC
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 Responsible Changed From-To: freebsd-ports->anders over to maintainer State Changed From-To: open->closed superseded by 45585 |