diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-08-01 15:55:00 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-08-01 15:55:00 +0000 |
commit | a371904ef4c52b0e342b45682719fca268629483 (patch) | |
tree | 7ab896d9a335c37df06d510c3ca2babb0b3a48f3 /mail | |
parent | d7f55ef6b06c0da65f59ce8f52690100a71434bd (diff) | |
download | FreeBSD-ports-a371904ef4c52b0e342b45682719fca268629483.zip FreeBSD-ports-a371904ef4c52b0e342b45682719fca268629483.tar.gz |
- honor CFLAGS and LDFLAGS, use PTRHREADS_* too.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/kiltdown/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/kiltdown/Makefile b/mail/kiltdown/Makefile index d826e39..fa11355 100644 --- a/mail/kiltdown/Makefile +++ b/mail/kiltdown/Makefile @@ -24,6 +24,14 @@ MY_CONFIGURE_ARGS+= -qtinc /usr/X11R6/include/qt2 -qtlib /usr/X11R6/lib MY_CONFIGURE_ARGS+= -dbinc /usr/local/include/db3 -dblib /usr/local/lib BUILD_ENV+= PATH=${PATH}:${X11BASE}/bin +post-patch: + @${PERL5} -pi \ + -e "s/SYS_CFLAGS=-pthread/SYS_CFLAGS=${PTHREAD_CFLAGS} ${CFLAGS}/" \ + ${WRKSRC}/configs/bsd-generic + @${PERL5} -pi \ + -e "s/SYS_LDFLAGS=-pthread/SYS_LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}/" \ + ${WRKSRC}/configs/bsd-generic + do-configure: (cd ${CONFIGURE_WRKSRC} && \ ./${CONFIGURE_SCRIPT} ${MY_CONFIGURE_ARGS} ) @@ -32,4 +40,3 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kiltdown/kiltdown ${PREFIX}/bin/ .include <bsd.port.mk> - |