summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-25 17:03:11 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-25 17:03:11 +0000
commitd165976c9f5a361813daf1f2835016c2c3348d08 (patch)
tree0cde5a9a0350e8c0bf7f3800c7b9661459582f3a
parentUpgrade to PHP-4.0b3, finally. (diff)
use ${OSVERSION} instead of ${USE_INET6}.
Notes
Notes: svn path=/head/; revision=25067
-rw-r--r--mail/fetchmail/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 90f0949c2520..11e6476e5f13 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -20,12 +20,15 @@ MAINTAINER= ve@sci.fi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS
CONFIGURE_ENV= LDFLAGS="${CFLAGS}"
-.if defined(USE_INET6)
-CONFIGURE_ARGS+=--enable-inet6
-.endif
MAN1= fetchmail.1
MLINKS= fetchmail.1 fetchmailconf.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+=--enable-inet6
+.endif
+
.if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
CONFIGURE_ARGS += --with-kerberos=/usr/include
.endif
@@ -50,4 +53,4 @@ post-install:
${MV} ${PREFIX}/bin/fetchmailconf ${PREFIX}/libexec/fetchmailconf.bin
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>