summaryrefslogtreecommitdiff
path: root/mail/qpopper/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qpopper/Makefile.common')
-rw-r--r--mail/qpopper/Makefile.common9
1 files changed, 8 insertions, 1 deletions
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}