From af5b45ed0773944ce011e94ebe47b2f176647161 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 7 Nov 2006 16:46:39 +0000 Subject: mod_python: now built with -DEAPI git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@595 370017ae-e619-0410-ac65-c121f96126d4 --- mod_python/mod_python.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mod_python/mod_python.build b/mod_python/mod_python.build index cd23abf2..96e59672 100755 --- a/mod_python/mod_python.build +++ b/mod_python/mod_python.build @@ -21,7 +21,7 @@ fi PACKAGE="mod_python" VERSION=${VERSION:=2.7.11} ARCH="${ARCH:=x86_64}" -BUILD=${BUILD:=2rha} +BUILD=${BUILD:=3rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} @@ -83,7 +83,10 @@ fi # coxa, favor corrigir! if [ "$ARCH" == "x86_64" ]; then - sed -e 's/^OPT=$/OPT=-fPIC/' src/Makefile > src/Makefile.new + sed -e 's/^OPT=$/OPT="-fPIC -DEAPI"/' src/Makefile > src/Makefile.new + mv src/Makefile.new src/Makefile +else + sed -e 's/^OPT=$/OPT=-DEAPI/' src/Makefile > src/Makefile.new mv src/Makefile.new src/Makefile fi -- cgit v1.2.3