summaryrefslogtreecommitdiff
path: root/net/proxytunnel/Makefile
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 /net/proxytunnel/Makefile
parent1c11e77cd042d542660dd6f376bdd3f6a95d12f0 (diff)
downloadpkgsrc-6a1227818cab36697e7eb3d72b987f68c5bb8bb3.tar.gz
Add socket libraries on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'net/proxytunnel/Makefile')
-rw-r--r--net/proxytunnel/Makefile4
1 files changed, 3 insertions, 1 deletions
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/