Subject: [alpine-devel] suggestion to fcgi

From: Natanael Copa <[email-masked]>
Date: Tue, 03 Mar 2009 15:56:26 +0100

Carlo, does the patch below look ok to you?
If its ok for you I'll commit it.

Thanks!

diff --git a/extra/fcgi/APKBUILD b/extra/fcgi/APKBUILD
index ff619df..fc20800 100644
--- a/extra/fcgi/APKBUILD
+++ b/extra/fcgi/APKBUILD
@@ -21,22 +21,17 @@ build() {
                 patch -p1 < $i || return 1
         done
 	
-	# not sure how to use autotools for this apk
-	# Removed makefile patch and added libs -lm
-	#aclocal || return 1
-	#autoconf || return 1
-	# add missing files so automake doesnt error
-	#touch NEWS AUTHORS ChangeLog || return 1
-	#automake --add-missing || return 1
-	#libtoolize || return 1
 	export LIBS="$LIBS -lm"
 
+	# seems like there is no way to disable c++ from configure script
+	# the row below helps us to build even if g++ is installed on system
+	export CXX=false
+
 	./configure --prefix=/usr \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
-		--enable-shared \
-		--enable-static
+		--enable-shared
 	make || return 1
 	make DESTDIR="$pkgdir" install

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---