pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/mpeg-lib Convert to bl3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/74c5828dd106
branches: trunk
changeset: 473738:74c5828dd106
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Apr 24 00:49:45 2004 +0000
description:
Convert to bl3.
While here, add --mode options to libtool lines (in patch).
diffstat:
graphics/mpeg-lib/Makefile | 4 ++--
graphics/mpeg-lib/buildlink3.mk | 18 ++++++++++++++++++
graphics/mpeg-lib/distinfo | 4 ++--
graphics/mpeg-lib/patches/patch-ap | 8 ++++----
4 files changed, 26 insertions(+), 8 deletions(-)
diffs (91 lines):
diff -r 80c42d053ebb -r 74c5828dd106 graphics/mpeg-lib/Makefile
--- a/graphics/mpeg-lib/Makefile Sat Apr 24 00:48:45 2004 +0000
+++ b/graphics/mpeg-lib/Makefile Sat Apr 24 00:49:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2003/07/17 21:41:46 grant Exp $
+# $NetBSD: Makefile,v 1.21 2004/04/24 00:49:45 wiz Exp $
#
DISTNAME= mpeg_lib-1.3.1
@@ -12,7 +12,7 @@
HOMEPAGE= http://starship.python.net/~gward/mpeglib/
COMMENT= Library for decoding MPEG movies
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
diff -r 80c42d053ebb -r 74c5828dd106 graphics/mpeg-lib/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/mpeg-lib/buildlink3.mk Sat Apr 24 00:49:45 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/24 00:49:45 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MPEG_BUILDLINK3_MK:= ${MPEG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= mpeg
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpeg}
+BUILDLINK_PACKAGES+= mpeg
+
+.if !empty(MPEG_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.mpeg+= mpeg>=1.3.1
+BUILDLINK_PKGSRCDIR.mpeg?= ../../graphics/mpeg-lib
+.endif # MPEG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 80c42d053ebb -r 74c5828dd106 graphics/mpeg-lib/distinfo
--- a/graphics/mpeg-lib/distinfo Sat Apr 24 00:48:45 2004 +0000
+++ b/graphics/mpeg-lib/distinfo Sat Apr 24 00:49:45 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2003/10/04 15:54:39 danw Exp $
+$NetBSD: distinfo,v 1.7 2004/04/24 00:49:45 wiz Exp $
SHA1 (mpeg_lib-1.3.1.tar.gz) = 0ea4f8b31e4f316d99c2034d76619988f75147dc
Size (mpeg_lib-1.3.1.tar.gz) = 152092 bytes
@@ -17,4 +17,4 @@
SHA1 (patch-am) = b2f7afdd74c28bd6345f1ac291577103bf8196f3
SHA1 (patch-an) = 3b23f238fcdc1321d17d19be74c7e670b249c5fc
SHA1 (patch-ao) = 84caaa6c7b9cb5eb7f7455323767aa6753e92ff7
-SHA1 (patch-ap) = 89ce52d7878966120638a1bce22666ee8b83fa7e
+SHA1 (patch-ap) = 2d7536517bcf3e9ed52fdc09ab5a5f721aab6c5d
diff -r 80c42d053ebb -r 74c5828dd106 graphics/mpeg-lib/patches/patch-ap
--- a/graphics/mpeg-lib/patches/patch-ap Sat Apr 24 00:48:45 2004 +0000
+++ b/graphics/mpeg-lib/patches/patch-ap Sat Apr 24 00:49:45 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ap,v 1.6 2001/08/06 15:00:31 tron Exp $
+$NetBSD: patch-ap,v 1.7 2004/04/24 00:49:45 wiz Exp $
--- Makefile.in.orig Thu Nov 26 17:03:29 1998
+++ Makefile.in Mon Aug 6 16:54:52 2001
@@ -24,7 +24,7 @@
# Implicit targets
.c.o:
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
-+ ${LIBTOOL} $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
++ ${LIBTOOL} --mode=compile $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
# Library/cleanup targets:
@@ -34,7 +34,7 @@
$(LIBRARY): $(LIBOBJ)
- $(AR) $(ARFLAGS) $(LIBRARY) $(LIBOBJ)
- $(RANLIB) $(LIBRARY)
-+ ${LIBTOOL} $(CC) -o $(LIBRARY) $(LIBOBJ:.o=.lo) \
++ ${LIBTOOL} --mode=link $(CC) -o $(LIBRARY) $(LIBOBJ:.o=.lo) \
+ -rpath ${PREFIX}/lib -version-info 1:3
+
@@ -47,7 +47,7 @@
+ $(INSTALL) -d $(INSTALL_LIBRARY)
$(INSTALL) -m 0644 $(HEADER) $(INSTALL_INCLUDE)/$(HEADER)
- $(INSTALL) -m 0644 $(LIBRARY) $(INSTALL_LIBRARY)/$(LIBRARY)
-+ ${LIBTOOL} $(INSTALL) -m 0644 $(LIBRARY) $(INSTALL_LIBRARY)/$(LIBRARY)
++ ${LIBTOOL} --mode=install $(INSTALL) -m 0644 $(LIBRARY) $(INSTALL_LIBRARY)/$(LIBRARY)
@if test -f $(SHLIB) ; then echo "warning: $(SHLIB) *not* installed (installing shared libraries is too system-specific)" ; fi
clean:
Home |
Main Index |
Thread Index |
Old Index