summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-10-24 09:32:08 +0000
committerjperkin <jperkin@pkgsrc.org>2013-10-24 09:32:08 +0000
commitc5435bc265e06e35762a2c840739915d90b83892 (patch)
tree753df39cdef6154e07dfa33e1f6c75901a93d1d2 /editors
parentaabaf151e7e5f156abec9175a93a131ad6768109 (diff)
downloadpkgsrc-c5435bc265e06e35762a2c840739915d90b83892.tar.gz
Add socket libraries on SunOS. Fix from Sebastian Wiedenroth.
Diffstat (limited to 'editors')
-rw-r--r--editors/ng/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/ng/Makefile b/editors/ng/Makefile
index ae4257e8bac..2e0d399dce0 100644
--- a/editors/ng/Makefile
+++ b/editors/ng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2012/12/12 12:04:51 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2013/10/24 09:32:08 jperkin Exp $
DISTNAME= ng-1.4.4
CATEGORIES= editors japanese
@@ -29,6 +29,8 @@ BUILD_TARGET= ng
INSTALLATION_DIRS= bin share/doc/ng share/examples/ng
+LDFLAGS.SunOS+= -lsocket -lnsl
+
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
post-patch:
cd ${WRKSRC}; ${LN} -s sys/sysv/Makefile .