summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2008-03-26 18:03:41 +0000
committerfjoe <fjoe@FreeBSD.org>2008-03-26 18:03:41 +0000
commit4283dc2e889ea3da938c3c9e7bba0f078c4c798b (patch)
tree4bcc6dd6453f0db3b50cb7653f63bedb287ebb77 /net-mgmt
parent0fb1b108395da6b105e739db14c438f3530fda9b (diff)
downloadFreeBSD-ports-4283dc2e889ea3da938c3c9e7bba0f078c4c798b.zip
FreeBSD-ports-4283dc2e889ea3da938c3c9e7bba0f078c4c798b.tar.gz
Unbreak on 7.x and later.
Approved by: MAINTAINER
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