this needs -lnsl -lsocket on Solaris.

This commit is contained in:
grant 2005-07-31 13:32:27 +00:00
parent f7a4831304
commit b13fa537d1
2 changed files with 7 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2005/06/17 03:50:25 jlam Exp $ # $NetBSD: Makefile,v 1.8 2005/07/31 13:32:27 grant Exp $
# #
DISTNAME= ipw-3.3a DISTNAME= ipw-3.3a
@ -14,6 +14,9 @@ WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin share/doc INSTALLATION_DIRS= bin share/doc
LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= LIBS=${LIBS:Q}
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipw ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ipw ${PREFIX}/bin
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/ipw.README ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/ipw.README

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2005/05/22 20:08:24 jlam Exp $ # $NetBSD: Makefile,v 1.4 2005/07/31 13:33:42 grant Exp $
# #
DISTNAME= ish-v${VERSION} DISTNAME= ish-v${VERSION}
@ -18,8 +18,8 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake USE_TOOLS+= gmake
NO_CONFIGURE= yes NO_CONFIGURE= yes
MAKE_ENV+= LIBS="${LIBS}" LIBS.SunOS+= -lnsl -lsocket
LIBS.SunOS+= -lsocket MAKE_ENV+= LIBS=${LIBS:Q}
INSTALLATION_DIRS= bin sbin INSTALLATION_DIRS= bin sbin