commit | cf862707d62196ad571c9da774593d494209739a | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Jul 22 21:19:02 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Jul 22 21:19:02 2014 +0800 |
tree | 22402e317525132200661cb2060672904f6d906e | |
parent | 48eb7a661456ea7816e49bbb6736a2a84942ed94 [diff] [blame] |
on OSX, 'make uninstall' should clean files under /usr/local rather than /usr
diff --git a/make.sh b/make.sh index 622d6a9..d4fa43f 100755 --- a/make.sh +++ b/make.sh
@@ -82,6 +82,7 @@ if [ "$(uname)" == "Darwin" ]; then # find the directory automatically, so we can support both Macport & Brew PKGCFGDIR="$(pkg-config --variable pc_path pkg-config | cut -d ':' -f 1)" + export PREFIX=/usr/local if [ ${PKGCFGDIR}x != x ]; then ${MAKE} PKGCFGDIR=$PKGCFGDIR uninstall else