aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-08-01 18:47:45 +0800
committerdinoex <dinoex@FreeBSD.org>2001-08-01 18:47:45 +0800
commit0ff8be7b4c87d961fe903d6901b9f266f122fd2d (patch)
tree378bd9641b99c5acd0b9dbbf76385bb87901917a
parent7fae0f7bed675c879bd23b571353170a6a26108a (diff)
downloadfreebsd-ports-graphics-0ff8be7b4c87d961fe903d6901b9f266f122fd2d.tar.gz
freebsd-ports-graphics-0ff8be7b4c87d961fe903d6901b9f266f122fd2d.tar.zst
freebsd-ports-graphics-0ff8be7b4c87d961fe903d6901b9f266f122fd2d.zip
- Fix build on current, as PTHREAD_CFLAGS generates an empty argument.
cd /tmp/a/ports/mail/vbsfilter/work/vbsfilter-1.3 && cc -O -pipe -Wall -I/usr/local/include "" -L/usr/local/lib -o vbsfilter-1.3 vbsfilter-1.3.c -lmilter -lsmutil "-lc_r" cc: : No such file or directory *** Error code 1 using: ${PTHREAD_CFLAGS:S=""==}
-rw-r--r--mail/vbsfilter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/vbsfilter/Makefile b/mail/vbsfilter/Makefile
index fc3f959ce62..7ace4829c94 100644
--- a/mail/vbsfilter/Makefile
+++ b/mail/vbsfilter/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= dinoex@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
CTARGETS+= vbsfilter-1.3
-CFLAGS+= -Wall -I$(LOCALBASE)/include ${PTHREAD_CFLAGS}
+CFLAGS+= -Wall -I$(LOCALBASE)/include ${PTHREAD_CFLAGS:S=""==}
FLAGS+= ${PTHREAD_LIBS}
LDFLAGS+= -L$(LOCALBASE)/lib
LIBS+= -lmilter -lsmutil