diff options
Diffstat (limited to 'net')
-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 |