diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-07-26 13:48:44 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-07-26 13:48:44 +0000 |
commit | 11d181c4e76463382f20a963601e208a1384f0e2 (patch) | |
tree | 59986f08985bb86242a7464c590d874d648cdccb /net-misc/gip/files | |
parent | Bump to rev15 (diff) | |
download | gentoo-2-11d181c4e76463382f20a963601e208a1384f0e2.tar.gz gentoo-2-11d181c4e76463382f20a963601e208a1384f0e2.tar.bz2 gentoo-2-11d181c4e76463382f20a963601e208a1384f0e2.zip |
net-misc/gip: Version Bump; respect the *FLAGS, #427874
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/gip/files')
-rw-r--r-- | net-misc/gip/files/gip-1.7.0.1-asneeded.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/gip/files/gip-1.7.0.1-asneeded.patch b/net-misc/gip/files/gip-1.7.0.1-asneeded.patch new file mode 100644 index 000000000000..2c0bbe3df488 --- /dev/null +++ b/net-misc/gip/files/gip-1.7.0.1-asneeded.patch @@ -0,0 +1,33 @@ + installer/build_files.sh | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/installer/build_files.sh b/installer/build_files.sh +index 8d469b0..bc653cf 100755 +--- a/installer/build_files.sh ++++ b/installer/build_files.sh +@@ -27,7 +27,7 @@ compile_file() { + # Compile. + echo Compiling: $FILE... + set -x +- g++ -fPIC $CFLAGS -c $FILE -o $OBJECTFILE ++ g++ -fPIC $CFLAGS $CXXFLAGS -c $FILE -o $OBJECTFILE + ERR="$?" + set +x + if [ "$ERR" -ne "0" ]; then +@@ -122,14 +122,14 @@ fi + if [ "$SHARED" = "" ]; then + # Link as an executable. + set -x +- g++ $CFLAGS -o $OUTFILE $OBJECTFILES $LFLAGS ++ g++ $CFLAGS $CXXFLAGS $LDFLAGS -o $OUTFILE $OBJECTFILES $LFLAGS + ERR="$?" + set +x + else + # Link as a shared library. + SHAREDNAME=`echo $OUTFILE | sed 's/\..*//'` + set -x +- g++ -shared -Wl,-soname,$SHAREDNAME $CFLAGS -o $OUTFILE $OBJECTFILES $LFLAGS ++ g++ -shared -Wl,-soname,$SHAREDNAME $CFLAGS $CXXFLAGS $LDFLAGS -o $OUTFILE $OBJECTFILES $LFLAGS + ERR="$?" + set +x + fi |