summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-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 f8d02ea..8e8f818 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>
OpenPOWER on IntegriCloud