From 305c134b430008860cbae4d10b622c0066824a51 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 23 Jun 2012 19:23:32 +0000 Subject: Add -lsocket -lnsl on Solaris. --- emulators/gxemul/Makefile | 4 +++- emulators/kegs/Makefile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'emulators') 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}... -- cgit v1.2.3