summaryrefslogtreecommitdiff
path: root/devel/libnet11/buildlink3.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-02-18 18:30:59 +0000
committeradrianp <adrianp>2007-02-18 18:30:59 +0000
commit30e7f01be7b6a89c5a9037e1273f5bf7f669d318 (patch)
tree0a11b91bb8717828a07e27024cadbc45ee80a2d2 /devel/libnet11/buildlink3.mk
parentd8001201880d3a93ca371b4e02c5600d1c29ce66 (diff)
downloadpkgsrc-30e7f01be7b6a89c5a9037e1273f5bf7f669d318.tar.gz
The libnet 1.1.x branch will now install as libnet11-1.1.x this will avoid
conflicts with the libnet 1.0.x branch and allow the two to be run side-by-side.
Diffstat (limited to 'devel/libnet11/buildlink3.mk')
-rw-r--r--devel/libnet11/buildlink3.mk30
1 files changed, 17 insertions, 13 deletions
diff --git a/devel/libnet11/buildlink3.mk b/devel/libnet11/buildlink3.mk
index 6cad8c9a494..c14b9cc5dff 100644
--- a/devel/libnet11/buildlink3.mk
+++ b/devel/libnet11/buildlink3.mk
@@ -1,19 +1,23 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2007/02/18 18:31:00 adrianp Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNET11_BUILDLINK3_MK:= ${LIBNET11_BUILDLINK3_MK}+
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= libnet
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libnet11
.endif
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet}
-BUILDLINK_PACKAGES+= libnet
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnet
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet11}
+BUILDLINK_PACKAGES+= libnet11
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnet11
-.if !empty(LIBNET_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.libnet+= libnet>=1.1.2.1
-BUILDLINK_PKGSRCDIR.libnet?= ../../devel/libnet11
-.endif # LIBNET_BUILDLINK3_MK
+.if ${LIBNET11_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libnet11+= libnet11>=1.1.2.1
+BUILDLINK_PKGSRCDIR.libnet11?= ../../devel/libnet11
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_INCDIRS.libnet11+= include/libnet11
+BUILDLINK_LIBDIRS.libnet11+= lib/libnet11
+BUILDLINK_CPPFLAGS.libnet11+= -lnet
+.endif # LIBNET11_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}