[61105] trunk/dports/audio/id3v2

ryandesign at macports.org ryandesign at macports.org
Tue Dec 1 18:43:25 PST 2009


Revision: 61105
          http://trac.macports.org/changeset/61105
Author:   ryandesign at macports.org
Date:     2009-12-01 18:43:24 -0800 (Tue, 01 Dec 2009)
Log Message:
-----------
id3v2: make sure we're always UsingTheRightCompiler; see #20072

Modified Paths:
--------------
    trunk/dports/audio/id3v2/Portfile

Added Paths:
-----------
    trunk/dports/audio/id3v2/files/
    trunk/dports/audio/id3v2/files/patch-Makefile.diff

Modified: trunk/dports/audio/id3v2/Portfile
===================================================================
--- trunk/dports/audio/id3v2/Portfile	2009-12-02 02:15:18 UTC (rev 61104)
+++ trunk/dports/audio/id3v2/Portfile	2009-12-02 02:43:24 UTC (rev 61105)
@@ -18,12 +18,15 @@
 
 universal_variant no
 
+patchfiles		patch-Makefile.diff
 post-patch {
 	reinplace "s|/usr/local|${prefix}|g" "${worksrcpath}/Makefile"	
 }
 
-configure	{}
+use_configure	no
 
+build.env		CXX=${configure.cxx}
+
 destroot {
 	xinstall -m 755 ${worksrcpath}/id3v2 ${destroot}/${prefix}/bin/
 	xinstall -m 644 ${worksrcpath}/id3v2.1 ${destroot}/${prefix}/share/man/man1/

Added: trunk/dports/audio/id3v2/files/patch-Makefile.diff
===================================================================
--- trunk/dports/audio/id3v2/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/audio/id3v2/files/patch-Makefile.diff	2009-12-02 02:43:24 UTC (rev 61105)
@@ -0,0 +1,15 @@
+--- Makefile	2004-05-04 13:33:53.000000000 -0500
++++ Makefile	2009-06-25 01:00:03.000000000 -0500
+@@ -7,10 +7,10 @@
+ LDFLAGS+=	-L${PREFIX}/lib/ 
+ 
+ id3v2:	convert.o list.o id3v2.o genre.o
+-	c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^
++	$(CXX) ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^
+ 
+ create_map: create_map.o
+-	c++ -Wall -g -o $@ $^
++	$(CXX) -Wall -g -o $@ $^
+ 
+ install: all
+ 	install -c -s id3v2 ${PREFIX}/bin/id3v2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091201/25beb4df/attachment.html>


More information about the macports-changes mailing list