summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/prayer/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/prayer/Makefile b/mail/prayer/Makefile
index 340f517266a..c460784218b 100644
--- a/mail/prayer/Makefile
+++ b/mail/prayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2013/07/12 10:44:57 jperkin Exp $
+# $NetBSD: Makefile,v 1.51 2014/01/09 11:34:14 jperkin Exp $
DISTNAME= prayer-1.3.4
PKGREVISION= 6
@@ -54,6 +54,13 @@ OWN_DIRS_PERMS+=${VAR_PREFIX} ${PRAYER_USER} ${PRAYER_GROUP} 0750
FILES_SUBST+= OPSYS=${OPSYS}
FILES_SUBST+= VAR_PREFIX=${VAR_PREFIX:Q}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rename:-lutil:"-lsocket -lnsl"
+BUILDLINK_TRANSFORM+= rm:-lcom_err # XXX: handle pkgsrc krb
+.endif
+
post-patch:
${FIND} ${WRKSRC} -name CVS -type d -print | ${SORT} -r | \
${XARGS} ${RM} -rf