Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: libraries/flac-1.2.1/nacl-flac-1.2.1.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libraries/flac-1.2.1/nacl-flac-1.2.1.sh
diff --git a/libraries/flac-1.2.1/nacl-flac-1.2.1.sh b/libraries/flac-1.2.1/nacl-flac-1.2.1.sh
index 7d263bbf676563bb69b196bff19e7704d23b5556..c231dd739ae454ab50b4a6977f76360b81cee551 100755
--- a/libraries/flac-1.2.1/nacl-flac-1.2.1.sh
+++ b/libraries/flac-1.2.1/nacl-flac-1.2.1.sh
@@ -27,8 +27,8 @@ CustomConfigureStep() {
export CXX=${NACLCXX}
export AR=${NACLAR}
export RANLIB=${NACLRANLIB}
- export PKG_CONFIG_PATH=${NACL_SDK_USR}/lib/pkgconfig
- export PKG_CONFIG_LIBDIR=${NACL_SDK_USR}/lib
+ export PKG_CONFIG_PATH=${NACLPORTS_PREFIX}/lib/pkgconfig
+ export PKG_CONFIG_LIBDIR=${NACLPORTS_PREFIX}/lib
export PATH=${NACL_BIN_PATH}:${PATH};
export LIBS="-lnosys"
ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
@@ -38,10 +38,10 @@ CustomConfigureStep() {
../configure \
--host=nacl \
--disable-shared \
- --prefix=${NACL_SDK_USR} \
- --exec-prefix=${NACL_SDK_USR} \
- --libdir=${NACL_SDK_USR}/lib \
- --oldincludedir=${NACL_SDK_USR}/include \
+ --prefix=${NACLPORTS_PREFIX} \
+ --exec-prefix=${NACLPORTS_PREFIX} \
+ --libdir=${NACLPORTS_PREFIX}/lib \
+ --oldincludedir=${NACLPORTS_PREFIX}/include \
--enable-sse \
--disable-3dnow \
--disable-altivec \

Powered by Google App Engine
This is Rietveld 408576698