summaryrefslogtreecommitdiff
path: root/mail/qpopper
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-06-22 23:53:52 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-06-22 23:53:52 +0000
commitb290be6cc25701260dc4ee8e88444ce9124cfec1 (patch)
tree2cac95c784ca810264cc3d1b4d9425b1c14c3726 /mail/qpopper
parentd8d555b461fe66cd0cf3b37063c76b26372301f9 (diff)
downloadpkgsrc-b290be6cc25701260dc4ee8e88444ce9124cfec1.tar.gz
Enable drac support in mail/qpopper package, patch was supplied
by John Nemeth in PR pkg/22925. The new option to use is "QPOPPER_USE_DRAC" and by default is not defined. Bump PKGREVISION.
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile4
-rw-r--r--mail/qpopper/Makefile.common9
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index ca426b4a68a..5f0397b3992 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.41 2004/05/06 13:46:23 taca Exp $
+# $NetBSD: Makefile,v 1.42 2004/06/22 23:53:52 xtraeme Exp $
#
DISTNAME= qpopper${VERSION}
PKGNAME= qpopper-${VERSION}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= mail
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
diff --git a/mail/qpopper/Makefile.common b/mail/qpopper/Makefile.common
index 23aad3f4ecb..e536ca29e28 100644
--- a/mail/qpopper/Makefile.common
+++ b/mail/qpopper/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2003/03/13 07:23:25 itojun Exp $
+# $NetBSD: Makefile.common,v 1.9 2004/06/22 23:53:52 xtraeme Exp $
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=${LOCALBASE}/libexec \
@@ -31,4 +31,11 @@ CONFIGURE_ARGS+= --enable-servermode
CONFIGURE_ENV+= O_DEFS="${O_DEFS}" CFLAGS="-DINET6"
.endif
+.if defined(QPOPPER_USE_DRAC) && !empty(QPOPPER_USE_DRAC:M[Yy][Ee][Ss])
+.include "../../mail/drac/buildlink3.mk"
+CONFIGURE_ARGS+= --with-drac=${BUILDLINK_PREFIX.drac}
+.endif
+
+BUILD_DEFS+= QPOPPER_USE_DRAC
+
LIBS+= ${LDFLAGS}