summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordholland <dholland>2012-06-23 19:23:32 +0000
committerdholland <dholland>2012-06-23 19:23:32 +0000
commit305c134b430008860cbae4d10b622c0066824a51 (patch)
tree4e0669579f09dfb5de2a7862a0dc7391cc2688d7 /emulators
parenta1a2989a076467c186d633f5e8e215df53772f0b (diff)
downloadpkgsrc-305c134b430008860cbae4d10b622c0066824a51.tar.gz
Add -lsocket -lnsl on Solaris.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gxemul/Makefile4
-rw-r--r--emulators/kegs/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index e999d0b63d0..2e552b7f0f2 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2010/07/02 14:41:49 joerg Exp $
+# $NetBSD: Makefile,v 1.45 2012/06/23 19:26:28 dholland Exp $
#
DISTNAME= gxemul-0.6.0
@@ -19,6 +19,8 @@ USE_LANGUAGES= c c++
HAS_CONFIGURE= yes
BUILD_TARGET= build
+LIBS.SunOS+= -lsocket -lnsl
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
do-install:
diff --git a/emulators/kegs/Makefile b/emulators/kegs/Makefile
index 4368fa84998..4b40e00b664 100644
--- a/emulators/kegs/Makefile
+++ b/emulators/kegs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2012/06/23 19:23:32 dholland Exp $
#
DISTNAME= kegs.0.91
@@ -25,6 +25,8 @@ INSTALLATION_DIRS+= bin share/doc/${PKGBASE} share/${PKGBASE}
# Has problems finding shared libs on some platforms...
CFLAGS+= ${COMPILER_RPATH_FLAG}${X11BASE}/lib
+LIBS.SunOS+= -lsocket -lnsl
+
pre-build:
if [ -L ${WRKSRC}/src/vars ]; then ${RM} ${WRKSRC}/src/vars; fi
@${ECHO} Building for ${OPSYS} on ${MACHINE_ARCH}...