aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smtptrapd/Makefile
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-25 19:41:17 +0800
committermarino <marino@FreeBSD.org>2015-03-25 19:41:17 +0800
commit7a3c09c8629c7b7c365ea80e46d946d1da82663c (patch)
tree6d2ffbb1407cdb4a2e3486ad1b3832d701cce999 /mail/smtptrapd/Makefile
parent2cdc49d75ec39e3aa9a1f18bc0ccd327f6c00e99 (diff)
downloadfreebsd-ports-gnome-7a3c09c8629c7b7c365ea80e46d946d1da82663c.tar.gz
freebsd-ports-gnome-7a3c09c8629c7b7c365ea80e46d946d1da82663c.tar.zst
freebsd-ports-gnome-7a3c09c8629c7b7c365ea80e46d946d1da82663c.zip
mail category: Remove $PTHREAD_LIBS
Note: The following ports did not pass check-plist (CP) or stage-qa (QA) tests. The sendmail port has many problems, but this was already known by myself as I fixed it properly on DPorts last week. It's a forward action to submit a PR against mail/sendmail. * antivirus-milter (CP) * dk-milter (CP) * milter-regex (CP) * sendmail (CP, QA) approved by: PTHREAD blanket
Diffstat (limited to 'mail/smtptrapd/Makefile')
-rw-r--r--mail/smtptrapd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/smtptrapd/Makefile b/mail/smtptrapd/Makefile
index 0aba2e3c0ff7..e64b5e355e26 100644
--- a/mail/smtptrapd/Makefile
+++ b/mail/smtptrapd/Makefile
@@ -14,7 +14,8 @@ USE_RC_SUBR= smtptrapd
PLIST_FILES= bin/smtptrapd
do-build:
- cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -o smtptrapd smtptrapd.c
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${CC} ${CFLAGS} -lpthread -o smtptrapd smtptrapd.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${STAGEDIR}${PREFIX}/bin/