summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-10 12:37:32 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-10 12:37:32 +0000
commit6a1227818cab36697e7eb3d72b987f68c5bb8bb3 (patch)
tree52695de5414e9ccd6f2983c77e0338066fb916a6
parent1c11e77cd042d542660dd6f376bdd3f6a95d12f0 (diff)
downloadpkgsrc-6a1227818cab36697e7eb3d72b987f68c5bb8bb3.tar.gz
Add socket libraries on SunOS. Patch from Sebastian Wiedenroth.
-rw-r--r--net/polsms/Makefile4
-rw-r--r--net/proxytunnel/Makefile4
-rw-r--r--net/rinetd/Makefile6
-rw-r--r--net/rootprobe/Makefile4
4 files changed, 13 insertions, 5 deletions
diff --git a/net/polsms/Makefile b/net/polsms/Makefile
index e12712edc27..97477939850 100644
--- a/net/polsms/Makefile
+++ b/net/polsms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2013/02/06 23:23:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.38 2013/12/10 12:41:25 jperkin Exp $
#
DISTNAME= sms-2.0.3
@@ -14,6 +14,8 @@ COMMENT= Send SMS to cellular phones in Poland (Plus, Idea, Era)
USE_LANGUAGES= c++
USE_TOOLS+= gmake
+LDFLAGS.SunOS+= -lsocket -lnsl
+
INSTALLATION_DIRS= bin share/sms/contrib share/sms/doc
do-install:
diff --git a/net/proxytunnel/Makefile b/net/proxytunnel/Makefile
index 9ab26ba0f79..6722422e67b 100644
--- a/net/proxytunnel/Makefile
+++ b/net/proxytunnel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2013/02/06 23:23:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2013/12/10 12:40:23 jperkin Exp $
#
DISTNAME= proxytunnel-1.9.0
@@ -23,6 +23,8 @@ SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= proxytunnel.1
SUBST_SED.fix-paths= -e 's,/usr,${PREFIX},g'
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-install:
${INSTALL} ${WRKSRC}/proxytunnel ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/proxytunnel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile
index 57a1225d9af..7557bc232b9 100644
--- a/net/rinetd/Makefile
+++ b/net/rinetd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/10/23 17:19:05 asau Exp $
+# $NetBSD: Makefile,v 1.15 2013/12/10 12:39:18 jperkin Exp $
#
DISTNAME= rinetd
@@ -27,8 +27,10 @@ SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_STAGE.paths= post-patch
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-build:
- cd ${WRKSRC} && env ${MAKE_ENV} cc ${CPPFLAGS} ${CFLAGS} -o rinetd *.c
+ cd ${WRKSRC} && env ${MAKE_ENV} ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o rinetd *.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rinetd ${DESTDIR}${PREFIX}/sbin/.
diff --git a/net/rootprobe/Makefile b/net/rootprobe/Makefile
index 828cf52ee0c..c817589d84c 100644
--- a/net/rootprobe/Makefile
+++ b/net/rootprobe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/10/23 17:19:05 asau Exp $
+# $NetBSD: Makefile,v 1.15 2013/12/10 12:37:32 jperkin Exp $
#
DISTNAME= rootprobe-20030115
@@ -14,6 +14,8 @@ NOT_FOR_PLATFORM= Interix-*-* # no <net/if.h> support
WRKSRC= ${WRKDIR}/rootprobe
+LDFLAGS.SunOS+= -lsocket -lnsl
+
INSTALLATION_DIRS= bin
do-install: