summaryrefslogtreecommitdiff
path: root/mail/cucipop
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-15 15:13:12 +0000
committerjlam <jlam>2004-11-15 15:13:12 +0000
commit3eaa12dd1b5d043184efc06e691d4c9e5e3b3262 (patch)
tree5887ea5fa25edd7ada339de2e5581bba81dc4090 /mail/cucipop
parenta0added8832672d859ab6b6546efb6a019085716 (diff)
downloadpkgsrc-3eaa12dd1b5d043184efc06e691d4c9e5e3b3262.tar.gz
More accurately follow template package Makefile.
Diffstat (limited to 'mail/cucipop')
-rw-r--r--mail/cucipop/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/mail/cucipop/Makefile b/mail/cucipop/Makefile
index 4bc37199047..0b3298a5ecf 100644
--- a/mail/cucipop/Makefile
+++ b/mail/cucipop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/09/02 10:39:04 grant Exp $
+# $NetBSD: Makefile,v 1.15 2004/11/15 15:13:12 jlam Exp $
#
DISTNAME= cucipop-1.31
@@ -29,24 +29,22 @@ SPECIAL_PERMS+= ${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2755
PKG_OPTIONS_VAR= PKG_OPTIONS.cucipop
PKG_SUPPORTED_OPTIONS= db
+.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdb)
+. include "../../mk/bdb.buildlink3.mk"
BDB_ACCEPTED= db2
CFLAGS+= -DUSE_DB
MAKE_ENV+= LIBS=${BUILDLINK_LIBS.bdb}
.endif
-.include "../../mk/bsd.prefs.mk"
-
# to be friendly with pre-1.5 systems
-.if defined(USE_INET6) && ${USE_INET6} == "YES"
+.if defined(USE_INET6) && (${USE_INET6} == "YES")
MAKE_ENV+= CFLAGS_INET6=-DINET6
.endif
-.if ${OPSYS} == "SunOS"
-LDFLAGS+= -lnsl -lsocket
-.endif
+LDFLAGS.SunOS+= -lnsl -lsocket
pre-configure:
@(cd ${WRKSRC}; \
@@ -61,7 +59,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/cucipop.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/makevpopdb.8 ${PREFIX}/man/man8
-.if !empty(PKG_OPTIONS:Mdb)
-. include "../../mk/bdb.buildlink3.mk"
-.endif
.include "../../mk/bsd.pkg.mk"