summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2008-03-01 11:39:49 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2008-03-01 11:39:49 +0000
commit684ad0360e8a4fd8f42bdec5e1f164f5ac294083 (patch)
treeaaf683e2d28cf36d2e90a5797dad1a8ea9cd2bc1 /media-libs/openjpeg/files
parentAdd ~alpha (diff)
downloadgentoo-2-684ad0360e8a4fd8f42bdec5e1f164f5ac294083.tar.gz
gentoo-2-684ad0360e8a4fd8f42bdec5e1f164f5ac294083.tar.bz2
gentoo-2-684ad0360e8a4fd8f42bdec5e1f164f5ac294083.zip
Version bump and install image_to_j2k and j2k_to_image tools
Thanks to Alexander Grahn wrt bug #211704 (Portage version: 2.1.4.4)
Diffstat (limited to 'media-libs/openjpeg/files')
-rw-r--r--media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch b/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch
new file mode 100644
index 000000000000..f1a3206def40
--- /dev/null
+++ b/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch
@@ -0,0 +1,20 @@
+--- codec/Makefile 2007-11-27 13:38:52.000000000 +0100
++++ codec/Makefile.new 2008-02-28 11:18:08.000000000 +0100
+@@ -2,6 +2,9 @@
+
+ CFLAGS = -O3 -lstdc++ # -g -p -pg
+
++PREFIX = /usr
++INSTALL_BINDIR = $(PREFIX)/bin
++
+ all: j2k_to_image image_to_j2k
+
+ j2k_to_image: j2k_to_image.c ../libopenjpeg.a
+@@ -12,3 +15,7 @@
+
+ clean:
+ rm -f j2k_to_image image_to_j2k
++
++install: all
++ install -d '$(DESTDIR)$(INSTALL_BINDIR)'
++ install -m 755 j2k_to_image image_to_j2k '$(DESTDIR)$(INSTALL_BINDIR)'