From 4283dc2e889ea3da938c3c9e7bba0f078c4c798b Mon Sep 17 00:00:00 2001 From: fjoe Date: Wed, 26 Mar 2008 18:03:41 +0000 Subject: Unbreak on 7.x and later. Approved by: MAINTAINER --- net-mgmt/ipcad/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'net-mgmt') 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 - -.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 +.include -- cgit v1.1