summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-14 13:23:58 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-14 13:23:58 +0000
commitbb3049bd7d5ea032c977ee531897646a419a54b1 (patch)
treed62c1ce417ff91f977c028a2c6d84a0191174e12
parentcb628e387f84b004557e4d4cc2de5b3130c8452d (diff)
downloadbzip2-bb3049bd7d5ea032c977ee531897646a419a54b1.tar.gz
morphs: use PREFIX if set
-rw-r--r--bzip2.morph2
-rw-r--r--libbz2.morph2
2 files changed, 2 insertions, 2 deletions
diff --git a/bzip2.morph b/bzip2.morph
index ab5edfd..83a13c1 100644
--- a/bzip2.morph
+++ b/bzip2.morph
@@ -5,6 +5,6 @@
"make"
],
"install-commands": [
- "make PREFIX=\"$DESTDIR/usr\" install"
+ "make PREFIX=\"$DESTDIR${PREFIX-/usr}\" install"
]
}
diff --git a/libbz2.morph b/libbz2.morph
index cd8743a..3497719 100644
--- a/libbz2.morph
+++ b/libbz2.morph
@@ -5,6 +5,6 @@
"make -f Makefile-libbz2_so"
],
"install-commands": [
- "install libbz2.so.1.0 libbz2.so.1.0.6 \"$DESTDIR/usr/lib\""
+ "install libbz2.so.1.0 libbz2.so.1.0.6 \"$DESTDIR${PREFIX-/usr}/lib\""
]
}