diff options
Diffstat (limited to 'net/socks4')
-rw-r--r-- | net/socks4/Makefile | 4 | ||||
-rw-r--r-- | net/socks4/buildlink.mk | 2 | ||||
-rw-r--r-- | net/socks4/buildlink2.mk | 19 |
3 files changed, 22 insertions, 3 deletions
diff --git a/net/socks4/Makefile b/net/socks4/Makefile index 3cef4e01a98..09542be5892 100644 --- a/net/socks4/Makefile +++ b/net/socks4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/09/27 23:18:32 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2002/08/25 18:39:35 jlam Exp $ # DISTNAME= export.socks.cstc.4.2.2 @@ -17,7 +17,7 @@ RESTRICTED= "no commercial use" NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} -USE_BUILDLINK_ONLY= # defined +USE_BUILDLINK2= # defined MAKE_ENV+= OPTIMIZE="${CFLAGS}" post-patch: diff --git a/net/socks4/buildlink.mk b/net/socks4/buildlink.mk index 1addf6ffb30..001ff9da884 100644 --- a/net/socks4/buildlink.mk +++ b/net/socks4/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.10 2002/05/25 20:01:19 fredb Exp $ +# $NetBSD: buildlink.mk,v 1.11 2002/08/25 18:39:35 jlam Exp $ # # This Makefile fragment is included by packages that use socks4. # diff --git a/net/socks4/buildlink2.mk b/net/socks4/buildlink2.mk new file mode 100644 index 00000000000..2763376878f --- /dev/null +++ b/net/socks4/buildlink2.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:36 jlam Exp $ + +.if !defined(SOCKS4_BUILDLINK2_MK) +SOCKS4_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= socks4 +BUILDLINK_DEPENDS.socks4?= socks4>=2.2 +BUILDLINK_PKGSRCDIR.socks4?= ../../net/socks4 + +EVAL_PREFIX+= BUILDLINK_PREFIX.socks4=socks4 +BUILDLINK_PREFIX.socks4_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.socks4= lib/libsocks4.* +BUILDLINK_TRANSFORM+= l:socks:socks4 + +BUILDLINK_TARGETS+= socks4-buildlink + +socks4-buildlink: _BUILDLINK_USE + +.endif # SOCKS4_BUILDLINK2_MK |