Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (57a9f1ccfd7602fb20bce0c2b2e4f36a9ca71369)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (57a9f1ccfd7602fb20bce0c2b2e4f36a9ca71369)
  • Date: Tue, 16 Apr 2013 16:19:25 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

ftp/curl/BUILD | 5 +++++
ftp/curl/HISTORY | 3 +++
2 files changed, 8 insertions(+)

New commits:
commit 57a9f1ccfd7602fb20bce0c2b2e4f36a9ca71369
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

curl: Fix -DPIC from CFLAGS -> CPPFLAGS (Bug #537)

configure: using CFLAGS: -march=native -mtune=native -m32 -pipe -DPIC
-fPIC -O2
configure: CFLAGS error: CFLAGS may only be used to specify C compiler
flags, not macro definitions. Use CPPFLAGS for: -DPIC
configure: error: Can not continue. Fix errors mentioned immediately
above this line.

diff --git a/ftp/curl/BUILD b/ftp/curl/BUILD
index 22c63c9..b1a7eb0 100755
--- a/ftp/curl/BUILD
+++ b/ftp/curl/BUILD
@@ -2,4 +2,9 @@ if [[ "$CURL_SSL" == "none" ]]; then
OPTS="--without-gnutls --without-nss --without-ssl $OPTS"
fi &&

+if echo "$CFLAGS" | grep -q -- '-DPIC'; then
+ CFLAGS="${CFLAGS/-DPIC/}" &&
+ CPPFLAGS="$CPPFLAGS -DPIC "
+fi &&
+
default_build
diff --git a/ftp/curl/HISTORY b/ftp/curl/HISTORY
index dfbee4b..53ba4f3 100644
--- a/ftp/curl/HISTORY
+++ b/ftp/curl/HISTORY
@@ -1,3 +1,6 @@
+2013-04-16 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD: Fix -DPIC from CFLAGS -> CPPFLAGS (Bug #537)
+
2013-04-13 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 7.30.0
SECURITY_PATCH++



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (57a9f1ccfd7602fb20bce0c2b2e4f36a9ca71369), Eric Sandall, 04/16/2013

Archive powered by MHonArc 2.6.24.

Top of Page