summaryrefslogtreecommitdiff
path: root/mail/qpopper/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>1999-07-08 17:11:56 +0000
committeritojun <itojun@pkgsrc.org>1999-07-08 17:11:56 +0000
commit874182b2fe1107b57fdfc534cca8a30f25c4ab67 (patch)
tree043c281956ac200f5ebcc4f2973544f2eae9238d /mail/qpopper/Makefile
parent57ead35da3d1d65efb5819f84203e15f47ad7ef5 (diff)
downloadpkgsrc-874182b2fe1107b57fdfc534cca8a30f25c4ab67.tar.gz
enable IPV6 build (USE_INET6)
Diffstat (limited to 'mail/qpopper/Makefile')
-rw-r--r--mail/qpopper/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index f1f629acb55..e80a928d3a5 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1999/06/08 11:54:08 bad Exp $
+# $NetBSD: Makefile,v 1.15 1999/07/08 17:11:56 itojun Exp $
#
DISTNAME= qpopper2.53
@@ -22,6 +22,15 @@ CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec \
.if defined(QPOPPER_SERVERMODE)
CONFIGURE_ARGS+= --enable-servermode
.endif
+.if defined(USE_INET6)
+CONFIGURE_ENV+= O_DEFS="${O_DEFS}" CFLAGS="-DINET6"
+PATCHDIR= ${WRKDIR}/.patches
+
+pre-patch:
+ ${MKDIR} ${WRKDIR}/.patches
+ ${CP} ${.CURDIR}/patches/patch-* ${WRKDIR}/.patches
+ ${CP} ${.CURDIR}/patches.v6/patch-* ${WRKDIR}/.patches
+.endif
# popper makefile doesn't have an install target...
do-install: