summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-08-21 16:02:11 +0000
committerjperkin <jperkin@pkgsrc.org>2014-08-21 16:02:11 +0000
commit02ed0d1b51b6eed70e5694a94c5b7904a8a1eafa (patch)
tree045623cd3e859b16c0646aa4bb8ddabf3c9eaf05 /sysutils
parentc3c2cc7281a546f2b6ccb4d787990a000d9f090f (diff)
downloadpkgsrc-02ed0d1b51b6eed70e5694a94c5b7904a8a1eafa.tar.gz
Fix build on SunOS (needs explicit -lnsl).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tarsnap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/tarsnap/Makefile b/sysutils/tarsnap/Makefile
index ed8c3dc0a0a..d318d274266 100644
--- a/sysutils/tarsnap/Makefile
+++ b/sysutils/tarsnap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/04/02 12:04:50 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2014/08/21 16:02:11 jperkin Exp $
DISTNAME= tarsnap-autoconf-1.0.35
PKGNAME= ${DISTNAME:S/-autoconf//}
@@ -14,6 +14,8 @@ LICENSE= tarsnap-license
GNU_CONFIGURE= yes
INSTALL_MAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/tarsnap
+LDFLAGS.SunOS+= -lnsl
+
CONF_FILES= ${PREFIX}/share/examples/tarsnap/tarsnap.conf.sample ${PKG_SYSCONFDIR}/tarsnap.conf
.include "../../security/openssl/buildlink3.mk"