summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-12 19:34:01 +0000
committersnj <snj@pkgsrc.org>2004-03-12 19:34:01 +0000
commitb3492dbd820228e8e963088b21e909f36ecb2674 (patch)
tree74c3169312730e8d9c1923a5162f3dd85ebc11ca /devel
parent439ab5a63168f2a1b7aa12440ee538c9f6e780fa (diff)
downloadpkgsrc-b3492dbd820228e8e963088b21e909f36ecb2674.tar.gz
bl3ify.
Diffstat (limited to 'devel')
-rw-r--r--devel/libmpeg3/Makefile6
-rw-r--r--devel/libmpeg3/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/devel/libmpeg3/Makefile b/devel/libmpeg3/Makefile
index 503b8252bce..c2c8e7a4882 100644
--- a/devel/libmpeg3/Makefile
+++ b/devel/libmpeg3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/22 08:24:30 grant Exp $
+# $NetBSD: Makefile,v 1.14 2004/03/12 19:34:01 snj Exp $
#
DISTNAME= libmpeg3-1.3
@@ -16,7 +16,7 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
CONFIGURE_ARGS+= --no-mmx --no-css
.endif
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
HAS_CONFIGURE= yes
USE_GNU_TOOLS+= make
@@ -58,5 +58,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/docs/index.html \
${PREFIX}/share/doc/html/libmpeg3
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libmpeg3/buildlink3.mk b/devel/libmpeg3/buildlink3.mk
new file mode 100644
index 00000000000..5f0b16875df
--- /dev/null
+++ b/devel/libmpeg3/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/12 19:34:01 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMPEG3_BUILDLINK3_MK:= ${LIBMPEG3_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmpeg3
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpeg3}
+BUILDLINK_PACKAGES+= libmpeg3
+
+.if !empty(LIBMPEG3_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmpeg3+= libmpeg3>=1.3nb4
+BUILDLINK_PKGSRCDIR.libmpeg3?= ../../devel/libmpeg3
+.endif # LIBMPEG3_BUILDLINK3_MK
+
+.include "../../mk/pthread.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}