summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-30 05:09:26 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-30 05:09:26 +0000
commit1898b306009c6ed30489b41e9b94cd78b548e51e (patch)
tree6491399116adac47b405fb35be11b14e23bb91ff /media-libs/smpeg/files
parentAdd fixes from Debian for amd64 support #100109 Micha Wiernowolski. (diff)
downloadgentoo-2-1898b306009c6ed30489b41e9b94cd78b548e51e.tar.gz
gentoo-2-1898b306009c6ed30489b41e9b94cd78b548e51e.tar.bz2
gentoo-2-1898b306009c6ed30489b41e9b94cd78b548e51e.zip
keep smpeg-config output clean
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/smpeg/files')
-rw-r--r--media-libs/smpeg/files/smpeg-0.4.4-config.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-libs/smpeg/files/smpeg-0.4.4-config.patch b/media-libs/smpeg/files/smpeg-0.4.4-config.patch
new file mode 100644
index 000000000000..2175276c351f
--- /dev/null
+++ b/media-libs/smpeg/files/smpeg-0.4.4-config.patch
@@ -0,0 +1,18 @@
+Only dump -L/-rpath if libdir is non-standard
+
+--- smpeg-config.in
++++ smpeg-config.in
+@@ -45,11 +45,13 @@
+ echo $includes -I@includedir@/smpeg `@SDL_CONFIG@ --cflags`
+ ;;
+ --libs)
++ if [ "@libdir@" != "/usr/lib" ]; then
+ if [ "`uname`" = "SunOS" ]; then
+ libdirs="-L@libdir@ -R@libdir@"
+ else
+ libdirs="-L@libdir@ @SMPEG_RLD_FLAGS@"
+ fi
++ fi
+ echo $libdirs -lsmpeg `@SDL_CONFIG@ --libs`
+ ;;
+ *)