summaryrefslogtreecommitdiffstats
path: root/testing/jhead/makefile-destdir.patch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-01-14 15:09:01 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-01-14 15:09:01 +0000
commit573fdf8f6dc1d2f46a149fa17d2f552d70b3e76a (patch)
treef7903eb718bbb1348861fa31ca20842d046d6967 /testing/jhead/makefile-destdir.patch
parent9e651f8f2d4cfe37d44d4cc1427dbc7fdf43ed09 (diff)
parent5bf72caba4ced8411bf3fe68932ed416bd671270 (diff)
downloadaports-573fdf8f6dc1d2f46a149fa17d2f552d70b3e76a.tar.bz2
aports-573fdf8f6dc1d2f46a149fa17d2f552d70b3e76a.tar.xz
Merge branch 'master' of ssh://git.alpinelinux.org/gitroot/fab/aports
Diffstat (limited to 'testing/jhead/makefile-destdir.patch')
-rw-r--r--testing/jhead/makefile-destdir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/jhead/makefile-destdir.patch b/testing/jhead/makefile-destdir.patch
new file mode 100644
index 000000000..d9c5b1a0b
--- /dev/null
+++ b/testing/jhead/makefile-destdir.patch
@@ -0,0 +1,17 @@
+--- jhead-2.93/makefile
++++ jhead-2.93/makefile.new
+@@ -4,6 +4,7 @@
+ OBJ=.
+ SRC=.
+ CFLAGS= -O3 -Wall
++prefix= /usr
+
+ all: jhead
+
+@@ -20,4 +21,5 @@
+ rm -f $(objs) jhead
+
+ install:
+- cp jhead ${DESTDIR}/usr/local/bin/
++ install -Dp -m 0755 jhead $(DESTDIR)$(prefix)/bin/jhead
++ install -m644 -D jhead.1 $(DESTDIR)$(prefix)/share/man/man1/jhead.1