diff options
Diffstat (limited to 'mail/noattach')
-rw-r--r-- | mail/noattach/Makefile | 5 |
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 |