diff options
Diffstat (limited to 'media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch')
-rw-r--r-- | media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch | 23 |
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: |