diff options
author | leeym <leeym@FreeBSD.org> | 2007-04-02 08:29:25 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2007-04-02 08:29:25 +0800 |
commit | 19b4cf5c86b304e58265d8736a8340fbb6929b70 (patch) | |
tree | c98f75de4df92987b39e471d742bff3dcfd62539 /net | |
parent | ba73c6c56443271368d6603624785ca49b3bbe5f (diff) | |
download | freebsd-ports-gnome-19b4cf5c86b304e58265d8736a8340fbb6929b70.tar.gz freebsd-ports-gnome-19b4cf5c86b304e58265d8736a8340fbb6929b70.tar.zst freebsd-ports-gnome-19b4cf5c86b304e58265d8736a8340fbb6929b70.zip |
- respect CC
Diffstat (limited to 'net')
-rw-r--r-- | net/ptunnel/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/ptunnel/Makefile b/net/ptunnel/Makefile index cb2f64c7d8db..d72c676aba42 100644 --- a/net/ptunnel/Makefile +++ b/net/ptunnel/Makefile @@ -20,16 +20,12 @@ USE_GMAKE= yes PLIST_FILES= bin/ptunnel MAN8= ptunnel.8 -.include <bsd.port.pre.mk> - post-patch: - @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/${MAKEFILE} -.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e '/^CC/d;s/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's/stdint.h/inttypes.h/' ${WRKSRC}/ptunnel.h -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ptunnel ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ptunnel.8 ${MAN8PREFIX}/man/man8 -.include <bsd.port.post.mk> +.include <bsd.port.mk> |