diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-14 13:23:58 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-14 13:23:58 +0000 |
commit | bb3049bd7d5ea032c977ee531897646a419a54b1 (patch) | |
tree | d62c1ce417ff91f977c028a2c6d84a0191174e12 | |
parent | cb628e387f84b004557e4d4cc2de5b3130c8452d (diff) | |
download | bzip2-bb3049bd7d5ea032c977ee531897646a419a54b1.tar.gz |
morphs: use PREFIX if set
-rw-r--r-- | bzip2.morph | 2 | ||||
-rw-r--r-- | libbz2.morph | 2 |
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\"" ] } |