[91176] trunk/dports/audio/libsamplerate
jmr at macports.org
jmr at macports.org
Sat Mar 24 21:37:49 PDT 2012
Revision: 91176
https://trac.macports.org/changeset/91176
Author: jmr at macports.org
Date: 2012-03-24 21:37:49 -0700 (Sat, 24 Mar 2012)
Log Message:
-----------
libsamplerate: don't build examples that aren't installed anyway (fixes #33408), disable silent make rules
Modified Paths:
--------------
trunk/dports/audio/libsamplerate/Portfile
Added Paths:
-----------
trunk/dports/audio/libsamplerate/files/patch_examples_Makefile.in.diff
Modified: trunk/dports/audio/libsamplerate/Portfile
===================================================================
--- trunk/dports/audio/libsamplerate/Portfile 2012-03-25 04:27:51 UTC (rev 91175)
+++ trunk/dports/audio/libsamplerate/Portfile 2012-03-25 04:37:49 UTC (rev 91176)
@@ -18,11 +18,13 @@
sha1 e5fe82c4786be2fa33ca6bd4897db4868347fe70 \
rmd160 74fe910bbc47cafad391932763afac2a29282ac5
-depends_build path:bin/pkg-config:pkgconfig
+depends_build port:pkgconfig
depends_lib port:fftw-3 port:libsndfile
-patchfiles patch-src-samplerate.h.diff
+patchfiles patch-src-samplerate.h.diff patch_examples_Makefile.in.diff
+configure.args --disable-silent-rules
+
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
Added: trunk/dports/audio/libsamplerate/files/patch_examples_Makefile.in.diff
===================================================================
--- trunk/dports/audio/libsamplerate/files/patch_examples_Makefile.in.diff (rev 0)
+++ trunk/dports/audio/libsamplerate/files/patch_examples_Makefile.in.diff 2012-03-25 04:37:49 UTC (rev 91176)
@@ -0,0 +1,11 @@
+--- examples/Makefile.in.orig 2011-08-15 22:12:30.000000000 +1000
++++ examples/Makefile.in 2012-03-25 15:31:07.000000000 +1100
+@@ -56,7 +56,7 @@
+ CONFIG_CLEAN_FILES =
+ CONFIG_CLEAN_VPATH_FILES =
+ am__installdirs = "$(DESTDIR)$(bindir)"
+-PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
++PROGRAMS = $(bin_PROGRAMS)
+ am_sndfile_resample_OBJECTS = sndfile-resample.$(OBJEXT)
+ sndfile_resample_OBJECTS = $(am_sndfile_resample_OBJECTS)
+ am__DEPENDENCIES_1 =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120324/a3433a91/attachment.html>
More information about the macports-changes
mailing list