summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-09-26 20:19:19 +0000
committerache <ache@FreeBSD.org>2003-09-26 20:19:19 +0000
commita144b16f797172151b199fc11086529f0704a3d8 (patch)
treeeddfe57d4ae50be69b442e2d3c98369630e40dd8 /mail
parenta11bcd098c8e7daeda401ec02e386ee0b1a60fc1 (diff)
downloadFreeBSD-ports-a144b16f797172151b199fc11086529f0704a3d8.zip
FreeBSD-ports-a144b16f797172151b199fc11086529f0704a3d8.tar.gz
Add LDFLAGS, re-arrange CFLAGS
Diffstat (limited to 'mail')
-rw-r--r--mail/sentinel/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile
index d3c81a1..db7af24 100644
--- a/mail/sentinel/Makefile
+++ b/mail/sentinel/Makefile
@@ -24,10 +24,8 @@ USE_REINPLACE= yes
.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a)
IGNORE= requires Sendmail 8.12
.endif
-.if exists(${LOCALBASE}/lib/libmilter.a)
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.endif
post-patch:
@${REINPLACE_CMD} -e \
@@ -35,8 +33,8 @@ post-patch:
do-build:
cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
- -o ${PORTNAME} ${PORTNAME}.c -L${LOCALBASE}/lib \
+ ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} \
+ -o ${PORTNAME} ${PORTNAME}.c ${LDFLAGS} \
-lmilter -lpcre -lpcreposix ${PTHREAD_LIBS}
do-install:
OpenPOWER on IntegriCloud