diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-06 13:38:16 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-06 13:38:16 +0000 |
commit | c5976d80b825489ef4cd0ed9a4e3e4d7bc76ce6d (patch) | |
tree | ff84e37a49326dfcfc455098eba60f3df2844541 /net/ncp | |
parent | febb13391597790471cb17e6f49a9b440d7adde9 (diff) |
Notes
Diffstat (limited to 'net/ncp')
-rw-r--r-- | net/ncp/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ncp/Makefile b/net/ncp/Makefile index 6ccf87cca0bf..905841b6ae84 100644 --- a/net/ncp/Makefile +++ b/net/ncp/Makefile @@ -17,6 +17,13 @@ MANCOMPRESSED= no WRKSRC= ${WRKDIR}/${PORTNAME} USE_BZIP2= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|' \ + ${WRKSRC}/conf-cc + @${REINPLACE_CMD} -e 's|gcc|${CC} ${LDFLAGS}|' \ + ${WRKSRC}/conf-ld do-install: cd ${WRKSRC}; ${INSTALL_PROGRAM} ncp ${PREFIX}/bin |