summaryrefslogtreecommitdiff
path: root/mail/vpopmail/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2005-11-17 22:54:30 +0000
committerPeter Pentchev <roam@FreeBSD.org>2005-11-17 22:54:30 +0000
commit8905aec82ca735f52cb0088c4508b84d3fb6b7b0 (patch)
treedfd45e2b7d136bc0b52e2fe9dda6e64514327b74 /mail/vpopmail/Makefile
parent- Something weird happened. (diff)
Unless WITHOUT_FPIC is defined, add -fPIC to the C compiler flags.
This fixes the build of ports that use libvpopmail, at least on amd64, and does not hurt on other platforms. PR: 88402 Submitted by: Matteo Baldi <egon@egonflower.com> among others
Diffstat (limited to '')
-rw-r--r--mail/vpopmail/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index 9737458b4ce5..b75208285bff 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpopmail
PORTVERSION= 5.4.10
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -64,6 +64,7 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# WITH_SPAMASSASSIN - enable SpamAssassin checks before Maildir delivery
# WITH_SUID_VCHKPW - set the setuid bit on the vchkpw program
# WITH_SMTP_AUTH_PATCH - apply an SMTP authentcation fix
+# WITHOUT_FPIC - do not add -fPIC to the C compiler flags
#
# Set these to the values you'd prefer
#
@@ -132,6 +133,10 @@ RELAYCLEAR?= 30
SPAM_THRESHOLD?=15
LOGLEVEL?= y
+.if !defined(WITHOUT_FPIC)
+CFLAGS+= -fPIC
+.endif
+
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
.if defined(WITH_LDAP_SASL)