aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-26 01:03:11 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-26 01:03:11 +0800
commitbadc13cbe043852b87d6e524ab7635169c9cdbc6 (patch)
treef7be548cc5491d64193cb2124f3068051fbc65f6 /mail
parent8dd75cc1a3d416f12539545af3062129828d1a91 (diff)
downloadfreebsd-ports-gnome-badc13cbe043852b87d6e524ab7635169c9cdbc6.tar.gz
freebsd-ports-gnome-badc13cbe043852b87d6e524ab7635169c9cdbc6.tar.zst
freebsd-ports-gnome-badc13cbe043852b87d6e524ab7635169c9cdbc6.zip
use ${OSVERSION} instead of ${USE_INET6}.
Diffstat (limited to 'mail')
-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>