aboutsummaryrefslogtreecommitdiff
path: root/mail/noattach
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-09-24 17:31:50 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-09-24 17:31:50 +0000
commiteaf2b2b7f716e1e896804e21f41305b41a2122d2 (patch)
tree5df908bd47f794169153c3f6df9f3eeb1b0f266a /mail/noattach
parent875957ba3301ec6320c51e08bcaffa2cf66050d4 (diff)
downloadports-eaf2b2b7f716e1e896804e21f41305b41a2122d2.tar.gz
ports-eaf2b2b7f716e1e896804e21f41305b41a2122d2.zip
Notes
Diffstat (limited to 'mail/noattach')
-rw-r--r--mail/noattach/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/noattach/Makefile b/mail/noattach/Makefile
index 996b0c13a86d..b16762d09295 100644
--- a/mail/noattach/Makefile
+++ b/mail/noattach/Makefile
@@ -20,6 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
CFLAGS+= ${PTHREAD_CFLAGS:S=""==}
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN8= noattach.8
DOCSFILES= AUTHORS THANKS COPYING INSTALL NEWS README TODO ChangeLog
SAMPLEFILES= README noattach.patterns noattach.patterns.johncon
@@ -37,9 +38,11 @@ pre-fetch:
@${FALSE}
.endif
-post-extract:
+pre-configure:
@${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/noattach.sh \
> ${WRKSRC}/noattach.sh
+ ${REINPLACE_CMD} -e 's=-pthread=${PTHREAD_LIBS}=' \
+ ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/noattach ${PREFIX}/libexec/noattach