summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-02-09 21:30:37 +0100
committerPeter Alfredsen <loki_val@gentoo.org>2009-02-09 21:30:37 +0100
commit7880cd59bab4e270424506cde91f39bffe2ff02e (patch)
tree754cb025cb342977d6b00282be312b02dd170bb4 /media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch
parentClean out old. (diff)
downloadloki_val-7880cd59bab4e270424506cde91f39bffe2ff02e.tar.gz
loki_val-7880cd59bab4e270424506cde91f39bffe2ff02e.tar.bz2
loki_val-7880cd59bab4e270424506cde91f39bffe2ff02e.zip
Add libopenjpeg
Diffstat (limited to 'media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch')
-rw-r--r--media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch b/media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch
new file mode 100644
index 0000000..3ed124d
--- /dev/null
+++ b/media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch
@@ -0,0 +1,23 @@
+diff -ur a/Makefile b/Makefile
+--- a/Makefile 2007-06-04 14:27:25 +0100
++++ b/Makefile 2007-08-23 11:38:25 +0100
+@@ -54,15 +54,15 @@
+ $(AR) r $@ $(MODULES)
+
+ $(SHAREDLIB): $(MODULES)
+- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
++ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
+
+ install: OpenJPEG
+ install -d '$(DESTDIR)$(INSTALL_LIBDIR)' '$(DESTDIR)$(INSTALL_INCLUDE)'
+- install -m 644 -o root -g root $(STATICLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
++ install -m 644 $(STATICLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
+ ranlib '$(DESTDIR)$(INSTALL_LIBDIR)/$(STATICLIB)'
+- install -m 755 -o root -g root $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
++ install -m 755 $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
+ ln -sf $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)'
+- install -m 644 -o root -g root libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'
++ install -m 644 libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'
+ -ldconfig
+
+ clean: