summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2002-05-25 19:24:00 +0000
committerfredb <fredb@pkgsrc.org>2002-05-25 19:24:00 +0000
commit017cbf8956bdf23c46114c225bc609630aa8375d (patch)
tree2eb1d884cf48bbd4b10d5dc4fef324e894ee6ae0 /comms
parent33ff683d246375d70f1d23e8fcf212fada7bcb4d (diff)
downloadpkgsrc-017cbf8956bdf23c46114c225bc609630aa8375d.tar.gz
The name of the socks4 static library is "libsocks4.a" not "libsocks.a",
and we don't need to add a run-path in either USE_SOCKS case, as we always link against a static socks library. (To link against a shared socks5, we would have to use "-lsocks5_sh".)
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index e47f8c19943..74e063ef1b3 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2002/01/28 12:06:55 agc Exp $
+# $NetBSD: Makefile,v 1.37 2002/05/25 19:24:00 fredb Exp $
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
#
@@ -68,11 +68,11 @@ LIBS+= -ltermcap
.if ${USE_SOCKS} == 4
DEPENDS+= socks4-2.2:../../net/socks4
KFLAGS+= -DSOCKS
-LIBS+= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lsocks
+LIBS+= -L${PREFIX}/lib -lsocks4
.elif ${USE_SOCKS} == 5
DEPENDS+= socks5-1.0.2:../../net/socks5
KFLAGS+= -DSOCKS -DCK_SOCKS5
-LIBS+= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lsocks5
+LIBS+= -L${PREFIX}/lib -lsocks5
.endif
.endif