make sure pdflib and libgd are not merged together. fixes #8883
authorRyan Phillips <rphillips@gentoo.org>
Fri, 18 Oct 2002 06:27:19 +0000 (06:27 +0000)
committerRyan Phillips <rphillips@gentoo.org>
Fri, 18 Oct 2002 06:27:19 +0000 (06:27 +0000)
dev-php/mod_php/mod_php-4.2.2-r1.ebuild
dev-php/mod_php/mod_php-4.2.3.ebuild
dev-php/php/php-4.2.2-r1.ebuild
dev-php/php/php-4.2.3.ebuild

index 00c7d5508dd58b1129882940c05b9d7b16e4a081..34613bf64e440d6ea8beb3535b5a09e99f2701f8 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.2.2-r1.ebuild,v 1.13 2002/10/05 05:39:11 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.2.2-r1.ebuild,v 1.14 2002/10/18 06:27:19 rphillips Exp $
 
 IUSE="freetype postgres tiff libwww nls jpeg ssl gd oci8 mysql X gdbm curl imap png xml2 xml cjk pdflib qt snmp crypt flash odbc ldap berkdb firebird pam"
 
@@ -110,14 +110,14 @@ src_compile() {
        use odbc && myconf="${myconf} --with-unixODBC=/usr"
        use ldap &&  myconf="${myconf} --with-ldap" 
        use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
-       use gd && myconf="${myconf} --with-gd"
        use freetype && myconf="${myconf} --with-ttf --with-t1lib"
-       use png && myconf="${myconf} --with-png-dir=/usr"       
 
        # rphillips - should fix #2708
        if [ "`use pdflib`" ] ; then
                myconf="${myconf} --with-pdflib=/usr"
        else
+               use gd && myconf="${myconf} --with-gd"
+               use png && myconf="${myconf} --with-png-dir=/usr"       
                use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
                use tiff && myconf="${myconf} --with-tiff-dir=/usr"
        fi
index f7d20a9c8e8042ec14299aa69c020599428841b8..949c60b157bf0524b57ed5362ba55025991dba78 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.2.3.ebuild,v 1.3 2002/10/05 05:39:11 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.2.3.ebuild,v 1.4 2002/10/18 06:27:19 rphillips Exp $
 
 IUSE="freetype postgres tiff libwww nls jpeg ssl gd oci8 mysql X gdbm curl imap png xml2 xml cjk pdflib qt snmp crypt flash odbc ldap berkdb freetds firebird pam"
 
@@ -112,14 +112,14 @@ src_compile() {
        use odbc && myconf="${myconf} --with-unixODBC=/usr"
        use ldap &&  myconf="${myconf} --with-ldap"
        use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
-       use gd && myconf="${myconf} --with-gd"
        use freetype && myconf="${myconf} --with-ttf --with-t1lib"
-       use png && myconf="${myconf} --with-png-dir=/usr"
 
        # rphillips - should fix #2708
        if [ "`use pdflib`" ] ; then
                myconf="${myconf} --with-pdflib=/usr"
        else
+               use gd && myconf="${myconf} --with-gd"
+               use png && myconf="${myconf} --with-png-dir=/usr"
                use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
                use tiff && myconf="${myconf} --with-tiff-dir=/usr"
        fi
index 9f523a53d81b930aef3478d2708f0e0fa173b5d9..0879063ab8a015c4b72ec5ddb14dcba231341427 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
 # Update: Roman Weber <gentoo@gonzo.ch>
-# $Header: /var/cvsroot/gentoo-x86/dev-php/php/php-4.2.2-r1.ebuild,v 1.15 2002/10/18 06:21:35 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php/php-4.2.2-r1.ebuild,v 1.16 2002/10/18 06:25:13 rphillips Exp $
 
 IUSE="freetype postgres tiff libwww nls jpeg readline ssl gd #java mysql X gdbm curl imap png xml2 xml cjk pdflib qt snmp crypt flash odbc ldap berkdb firebird pam oci8"
 
@@ -102,14 +102,13 @@ src_compile() {
        use odbc && myconf="${myconf} --with-unixODBC=/usr"
        use ldap &&  myconf="${myconf} --with-ldap" 
        use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
-       use gd && myconf="${myconf} --with-gd"
        use freetype && myconf="${myconf} --with-ttf --with-t1lib"
-       use tiff && myconf="${myconf} --with-tiff-dir=/usr"
 
        # rphillips - should fix #2708
        if [ "`use pdflib`" ] ; then
                myconf="${myconf} --enable-pdflib=/usr"
        else
+               use gd && myconf="${myconf} --with-gd"
                use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
                use tiff && myconf="${myconf} --with-tiff-dir=/usr"
                use png  && myconf="${myconf} --with-png-dir=/usr"
index fcbc4802451a42dfc2a936027e748adb32f8ae30..51b91fde9fc6d5181f94190cdcf3ceb33248d6c4 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
 # Update: Roman Weber <gentoo@gonzo.ch>
-# $Header: /var/cvsroot/gentoo-x86/dev-php/php/php-4.2.3.ebuild,v 1.6 2002/10/18 06:21:35 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php/php-4.2.3.ebuild,v 1.7 2002/10/18 06:25:13 rphillips Exp $
 
 IUSE="freetype postgres tiff libwww nls jpeg readline ssl gd oci8 mysql X gdbm curl imap png xml2 xml cjk pdflib qt snmp crypt flash odbc ldap berkdb freetds firebird pam"
 
@@ -106,14 +106,13 @@ src_compile() {
        use odbc && myconf="${myconf} --with-unixODBC=/usr"
        use ldap &&  myconf="${myconf} --with-ldap"
        use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
-       use gd && myconf="${myconf} --with-gd"
        use freetype && myconf="${myconf} --with-ttf --with-t1lib"
-       use tiff && myconf="${myconf} --with-tiff-dir=/usr"
 
        # rphillips - should fix #2708
        if [ "`use pdflib`" ] ; then
                myconf="${myconf} --enable-pdflib=/usr"
        else
+               use gd && myconf="${myconf} --with-gd"
                use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
                use tiff && myconf="${myconf} --with-tiff-dir=/usr"
                use png  && myconf="${myconf} --with-png-dir=/usr"