summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-08-21 09:37:21 +0000
committerjperkin <jperkin>2014-08-21 09:37:21 +0000
commit9983c7c8ea7edbc7370adf460f524302a73e2978 (patch)
tree878419e3620a9a7f865aaff401fde46e8d539d5a /mail
parent4b910ec4dd7197e36d77510e9b4783bbfd044b93 (diff)
downloadpkgsrc-9983c7c8ea7edbc7370adf460f524302a73e2978.tar.gz
Fix build on SunOS (needs -liconv and groff, add PKG_GROUPS).
Diffstat (limited to 'mail')
-rw-r--r--mail/gnarwl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/gnarwl/Makefile b/mail/gnarwl/Makefile
index 14eb7726657..85b67a23a01 100644
--- a/mail/gnarwl/Makefile
+++ b/mail/gnarwl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/07/29 15:24:37 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2014/08/21 09:37:21 jperkin Exp $
DISTNAME= gnarwl-3.6
PKGREVISION= 1
@@ -14,7 +14,7 @@ LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake groff
GNARWL_LIBS= -L${BUILDLINK_PREFIX.openldap}/lib \
-W,-lR${BUILDLINK_PREFIX.openldap}/lib \
@@ -23,10 +23,13 @@ GNARWL_LIBS= -L${BUILDLINK_PREFIX.openldap}/lib \
CONFIGURE_ENV+= LDFLAGS=${GNARWL_LIBS:Q}
CONFIGURE_ARGS+=--with-homedir=${GNARWL_HOME}
+LDFLAGS.SunOS+= -liconv
+
GNARWL_USER?= gnarwl
GNARWL_GROUP?= gnarwl
GNARWL_HOME?= ${VARBASE}/gnarwl
BUILD_DEFS+= GNARWL_USER GNARWL_GROUP
+PKG_GROUPS+= ${GNARWL_GROUP}
PKG_USERS+= ${GNARWL_USER}:${GNARWL_GROUP}
PKG_HOME.gnarwl=${GNARWL_HOME}