Revision: 94810 https://trac.macports.org/changeset/94810 Author: ryandesign@macports.org Date: 2012-06-30 03:31:46 -0700 (Sat, 30 Jun 2012) Log Message: ----------- vobcopy: build for the right architectures (#32679) and fix build error when using clang and 64-bit kernel (#32672) Modified Paths: -------------- trunk/dports/multimedia/vobcopy/Portfile trunk/dports/multimedia/vobcopy/files/patch-configure.sh Modified: trunk/dports/multimedia/vobcopy/Portfile =================================================================== --- trunk/dports/multimedia/vobcopy/Portfile 2012-06-30 10:19:59 UTC (rev 94809) +++ trunk/dports/multimedia/vobcopy/Portfile 2012-06-30 10:31:46 UTC (rev 94810) @@ -4,6 +4,7 @@ name vobcopy version 1.2.0 +revision 1 categories multimedia maintainers sneakemail.com:0booo5b02 description copies DVD .vob files to hard disk @@ -25,5 +26,7 @@ --with-dvdread-libs=${prefix} \ --mandir=${prefix}/share/man +variant universal {} + build.target -build.env CC=${configure.cc} +build.env CC="${configure.cc} [get_canonical_archflags]" Modified: trunk/dports/multimedia/vobcopy/files/patch-configure.sh =================================================================== --- trunk/dports/multimedia/vobcopy/files/patch-configure.sh 2012-06-30 10:19:59 UTC (rev 94809) +++ trunk/dports/multimedia/vobcopy/files/patch-configure.sh 2012-06-30 10:31:46 UTC (rev 94810) @@ -1,5 +1,14 @@ ---- configure.sh.orig 2009-07-22 13:10:44.000000000 -0700 -+++ configure.sh 2009-07-22 13:10:52.000000000 -0700 +--- configure.sh.orig 2009-06-08 14:58:28.000000000 -0500 ++++ configure.sh 2011-12-27 15:16:26.000000000 -0600 +@@ -153,7 +153,7 @@ + else + LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib" + fi +-elif [ `uname -m` = x86_64 ]; then #for ia64/AMD64 libraries ++elif [ `uname -m` = x86_64 -a `uname -s` != Darwin ]; then #for ia64/AMD64 libraries + LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib64" + else + LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib" @@ -228,11 +228,9 @@ # cp vobcopy.1 \$(MANDIR)/man1/vobcopy.1 install -d -m 755 \$(DESTDIR)/\$(BINDIR)
participants (1)
-
ryandesign@macports.org