aboutsummaryrefslogtreecommitdiff
path: root/mail/kiltdown
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-08-01 15:55:00 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-08-01 15:55:00 +0000
commit6c4e20257713bd3d19b9e270bf9e127bbf437aed (patch)
treee9220ab02bcef0a06f38df603cb823873def2f9f /mail/kiltdown
parent00824b0241a00e5f9b44f17c362459e3c099f55a (diff)
downloadports-6c4e20257713bd3d19b9e270bf9e127bbf437aed.tar.gz
ports-6c4e20257713bd3d19b9e270bf9e127bbf437aed.zip
Notes
Diffstat (limited to 'mail/kiltdown')
-rw-r--r--mail/kiltdown/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/kiltdown/Makefile b/mail/kiltdown/Makefile
index d826e39ac6b7..fa11355a0da5 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>
-