pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/id3ed make sure ${LDFLAGS} comes before ${LIBS} ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f207a56f9c9
branches:  trunk
changeset: 467310:0f207a56f9c9
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Jan 28 22:34:07 2004 +0000

description:
make sure ${LDFLAGS} comes before ${LIBS} when linking.

fixes build on Solaris.

diffstat:

 audio/id3ed/Makefile         |  10 +++++-----
 audio/id3ed/distinfo         |   3 ++-
 audio/id3ed/patches/patch-ab |  13 +++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r 2d6ff715097e -r 0f207a56f9c9 audio/id3ed/Makefile
--- a/audio/id3ed/Makefile      Wed Jan 28 20:29:46 2004 +0000
+++ b/audio/id3ed/Makefile      Wed Jan 28 22:34:07 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/01/22 07:15:00 grant Exp $
+# $NetBSD: Makefile,v 1.19 2004/01/28 22:34:07 grant Exp $
 #
 
 DISTNAME=      id3ed-1.10.4
@@ -9,14 +9,14 @@
 HOMEPAGE=      http://www.azstarnet.com/~donut/programs/id3ed.html
 COMMENT=       Edit id3 description tags in mpeg3 files
 
-USE_BUILDLINK2=                YES
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=                YES
 GNU_CONFIGURE=         YES
 USE_GNU_TOOLS+=                make
 USE_GCC_SHLIB=         YES
 
 USE_GNU_READLINE=      # uses rl_startup_hook
 
-LIBS+=                 ${LDFLAGS}
-
-.include "../../devel/readline/buildlink2.mk"
+.include "../../devel/readline/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d6ff715097e -r 0f207a56f9c9 audio/id3ed/distinfo
--- a/audio/id3ed/distinfo      Wed Jan 28 20:29:46 2004 +0000
+++ b/audio/id3ed/distinfo      Wed Jan 28 22:34:07 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2003/07/02 09:04:36 martin Exp $
+$NetBSD: distinfo,v 1.6 2004/01/28 22:34:08 grant Exp $
 
 SHA1 (id3ed-1.10.4.tar.gz) = b699e645fcea2fa42658886621eb10531d24008a
 Size (id3ed-1.10.4.tar.gz) = 31610 bytes
 SHA1 (patch-aa) = b20838a13e1cae3217917d4f5f8023c4329aa979
+SHA1 (patch-ab) = cafd397b8e994eea35e7d87d504c84c79c158fc2
diff -r 2d6ff715097e -r 0f207a56f9c9 audio/id3ed/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/id3ed/patches/patch-ab      Wed Jan 28 22:34:07 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/01/28 22:34:08 grant Exp $
+
+--- Makefile.in.orig   2003-01-10 14:09:20.000000000 +1100
++++ Makefile.in
+@@ -22,7 +22,7 @@ all: id3ed
+ OBJS=id3ed.o misc.o
+ 
+ id3ed: $(OBJS) .depend
+-      $(CXX) $(CXXFLAGS) $(OBJS) -o $@ $(LIBS)
++      $(CXX) $(CXXFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS)
+ 
+ dep depend .depend:
+       $(CXX) -MM *.cc > .depend



Home | Main Index | Thread Index | Old Index