aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ipcad
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2008-03-26 18:03:41 +0000
committerMax Khon <fjoe@FreeBSD.org>2008-03-26 18:03:41 +0000
commit5a5dbda81af48e6bb10d1dab82ada1d55df5e04e (patch)
tree0d3e681adfa793cdc970756770909c2775dd0f04 /net-mgmt/ipcad
parentbeb54f90712473362e26ad37602102f96ff646a4 (diff)
downloadports-5a5dbda81af48e6bb10d1dab82ada1d55df5e04e.tar.gz
ports-5a5dbda81af48e6bb10d1dab82ada1d55df5e04e.zip
Notes
Diffstat (limited to 'net-mgmt/ipcad')
-rw-r--r--net-mgmt/ipcad/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/net-mgmt/ipcad/Makefile b/net-mgmt/ipcad/Makefile
index f8d02ea65885..8e8f818a7923 100644
--- a/net-mgmt/ipcad/Makefile
+++ b/net-mgmt/ipcad/Makefile
@@ -25,15 +25,10 @@ MANCOMPRESSED= no
MAN5= ipcad.conf.5
MAN8= ipcad.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700015
-BROKEN= Does not compile on FreeBSD >= 7.0
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
- s|/usr/local|${PREFIX}|g' ${WRKSRC}/configure
+ s|/usr/local|${PREFIX}|g; s|pthread_detach|pthread_create|g'\
+ ${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${PREFIX}/bin/ipcad
@@ -41,4 +36,4 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/ipcad.conf.5 ${MANPREFIX}/man/man5
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>