summaryrefslogtreecommitdiff
path: root/net/socks4
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-15 12:18:04 +0000
committerjlam <jlam>2001-07-15 12:18:04 +0000
commit78e8cd4304421a210f701bcfbb7340be64c3b064 (patch)
tree44ffa0e4ad41bc995ef646a5554a737ecd6ce57a /net/socks4
parentfcfe56df74c4526827699f51320fa512aaf5175d (diff)
downloadpkgsrc-78e8cd4304421a210f701bcfbb7340be64c3b064.tar.gz
Links libsocks4.* to libsocks.* since that's what the name of the SOCK4
library is on many other systems.
Diffstat (limited to 'net/socks4')
-rw-r--r--net/socks4/buildlink.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/net/socks4/buildlink.mk b/net/socks4/buildlink.mk
index 8a0c161dc4b..cd79be98be0 100644
--- a/net/socks4/buildlink.mk
+++ b/net/socks4/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/07/01 22:59:27 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2001/07/15 12:18:04 jlam Exp $
#
# This Makefile fragment is included by packages that use socks4.
#
@@ -24,9 +24,18 @@ BUILDLINK_PREFIX.socks4= ${LOCALBASE}
BUILDLINK_FILES.socks4= lib/libsocks4.*
BUILDLINK_TARGETS.socks4= socks4-buildlink
+BUILDLINK_TARGETS.socks4+= socks4-buildlink-libsock
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.socks4}
pre-configure: ${BUILDLINK_TARGETS.socks4}
socks4-buildlink: _BUILDLINK_USE
+socks4-buildlink-libsock:
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ cd ${BUILDLINK_DIR}/lib; for lib in libsocks4.*; do \
+ dest=`${ECHO} $${lib} | ${SED} "s|libsocks4\.|libsocks.|g"`; \
+ ${RM} -f $${dest}; \
+ ${LN} -sf $${lib} $${dest}; \
+ done
+
.endif # SOCKS4_BUILDLINK_MK