summaryrefslogtreecommitdiff
path: root/graphics/xsane
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-08-21 16:06:44 +0000
committerjperkin <jperkin@pkgsrc.org>2014-08-21 16:06:44 +0000
commita89cef878906af698ae0359e066542bf44c90639 (patch)
treeffde5e9bfc75188f7a179793fdc128776c8810e4 /graphics/xsane
parent02ed0d1b51b6eed70e5694a94c5b7904a8a1eafa (diff)
downloadpkgsrc-a89cef878906af698ae0359e066542bf44c90639.tar.gz
Fix build on SunOS (needs explicit -lsocket -lnsl).
Diffstat (limited to 'graphics/xsane')
-rw-r--r--graphics/xsane/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile
index 0b606460782..e4fb69d04bc 100644
--- a/graphics/xsane/Makefile
+++ b/graphics/xsane/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2014/05/05 00:48:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.111 2014/08/21 16:06:44 jperkin Exp $
DISTNAME= xsane-0.998
PKGNAME= xsane-0.99.8
@@ -18,6 +18,8 @@ USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
+LDFLAGS.SunOS+= -lsocket -lnsl
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"