diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
commit | e2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /devel/libnet | |
parent | e97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff) | |
download | pkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'devel/libnet')
-rw-r--r-- | devel/libnet/Makefile | 10 | ||||
-rw-r--r-- | devel/libnet/buildlink2.mk | 20 |
2 files changed, 25 insertions, 5 deletions
diff --git a/devel/libnet/Makefile b/devel/libnet/Makefile index 7f76426aff6..dc7750bdf0a 100644 --- a/devel/libnet/Makefile +++ b/devel/libnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/10/03 22:36:38 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2002/08/25 18:38:31 jlam Exp $ # DISTNAME= libnet-1.0.1b @@ -9,10 +9,10 @@ MAINTAINER= sakamoto@netbsd.org HOMEPAGE= http://www.packetfactory.net/libnet/ COMMENT= C library for portable packet creation and injection -USE_BUILDLINK_ONLY= # defined +USE_BUILDLINK2= # defined -USE_LIBTOOL= #defined -GNU_CONFIGURE= #defined +USE_LIBTOOL= # defined +GNU_CONFIGURE= # defined CONFIGURE_ENV+= LIBNET_CONFIG_CFLAGS="-I${PREFIX}/include" \ LIBNET_CONFIG_LIBS="${LDFLAGS}" @@ -29,7 +29,7 @@ post-install: @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} @(cd ${PREFIX}; \ ${FIND} ${DOCDIR} -type f >> ${PLIST_SRC}; \ - ${FIND} ${DOCDIR} -type d| ${SED} -e 's|^|@dirrm |' | sort -r \ + ${FIND} ${DOCDIR} -type d| ${SED} -e 's|^|@dirrm |' | ${SORT} -r \ >> ${PLIST_SRC}) .include "../../mk/bsd.pkg.mk" diff --git a/devel/libnet/buildlink2.mk b/devel/libnet/buildlink2.mk new file mode 100644 index 00000000000..ee39e4ffdf3 --- /dev/null +++ b/devel/libnet/buildlink2.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:32 jlam Exp $ + +.if !defined(LIBNET_BUILDLINK2_MK) +LIBNET_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= libnet +BUILDLINK_DEPENDS.libnet?= libnet-[0-9]* +BUILDLINK_PKGSRCDIR.libnet?= ../../devel/libnet + +EVAL_PREFIX+= BUILDLINK_PREFIX.libnet=libnet +BUILDLINK_PREFIX.libnet_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.libnet= include/libnet.h +BUILDLINK_FILES.libnet+= include/libnet/* +BUILDLINK_FILES.libnet+= lib/libnet.* + +BUILDLINK_TARGETS+= libnet-buildlink + +libnet-buildlink: _BUILDLINK_USE + +.endif # LIBNET_BUILDLINK2_MK |