Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 4722
Collapse All | Expand All

(-)/usr/portage/dev-lang/php/php-4.2.1-r2.ebuild (-21 / +20 lines)
Lines 3-9 Link Here
3
# Maintainer: Tools Team <tools@gentoo.org>
3
# Maintainer: Tools Team <tools@gentoo.org>
4
# Author: Achim Gottinger <achim@gentoo.org>
4
# Author: Achim Gottinger <achim@gentoo.org>
5
# Update: Roman Weber <gentoo@gonzo.ch>
5
# Update: Roman Weber <gentoo@gonzo.ch>
6
# /space/gentoo/cvsroot/gentoo-x86/dev-lang/php/php-4.2.1.ebuild,v 1.2 2002/05/19 23:53:32 rphillips Exp
6
# $Header: /home/cvsroot/gentoo-x86/dev-lang/php/php-4.2.1.ebuild,v 1.3 2002/07/08 15:22:27 blizzy Exp $
7
7
8
S=${WORKDIR}/${P}
8
S=${WORKDIR}/${P}
9
DESCRIPTION="HTML embedded scripting language"
9
DESCRIPTION="HTML embedded scripting language"
Lines 14-25 Link Here
14
KEYWORDS="x86"
14
KEYWORDS="x86"
15
15
16
DEPEND=">=dev-libs/gmp-3.1.1
16
DEPEND=">=dev-libs/gmp-3.1.1
17
	~media-libs/freetype-1.3.1
17
        freetype? ( ~media-libs/freetype-1.3.1 >=media-libs/t1lib-1.3.1 )
18
	>=media-libs/jpeg-6b
18
        jpeg? ( >=media-libs/jpeg-6b )
19
	>=media-libs/tiff-3.5.5
19
        tiff? ( >=media-libs/tiff-3.5.5 )
20
	>=media-libs/libpng-1.2.1
20
        png? ( >=media-libs/libpng-1.2.1 )
21
	>=media-libs/libgd-1.8.3
21
        gd? ( >=media-libs/libgd-1.8.3 )
22
	>=media-libs/t1lib-1.3.1
23
	>=net-www/apache-1.3.26-r2
22
	>=net-www/apache-1.3.26-r2
24
	X? ( virtual/x11 )
23
	X? ( virtual/x11 )
25
	qt? ( =x11-libs/qt-2.3* )
24
	qt? ( =x11-libs/qt-2.3* )
Lines 89-95 Link Here
89
88
90
	myconf="--without-readline "
89
	myconf="--without-readline "
91
	use pam && myconf="${myconf} --with-pam"
90
	use pam && myconf="${myconf} --with-pam"
92
	use nls || myconf="${myconf} --without-gettext"
91
	use nls && myconf="${myconf} --with-gettext" || myconf="${myconf} --without-gettext"
93
	use ssl && myconf="${myconf} --with-openssl"
92
	use ssl && myconf="${myconf} --with-openssl"
94
	use curl && myconf="${myconf} --with-curl"
93
	use curl && myconf="${myconf} --with-curl"
95
	use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack"
94
	use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack"
Lines 100-113 Link Here
100
	use odbc && myconf="${myconf} --with-unixODBC=/usr"
99
	use odbc && myconf="${myconf} --with-unixODBC=/usr"
101
	use ldap &&  myconf="${myconf} --with-ldap" 
100
	use ldap &&  myconf="${myconf} --with-ldap" 
102
	use pdflib && myconf="${myconf} --with-pdflib=/usr"
101
	use pdflib && myconf="${myconf} --with-pdflib=/usr"
103
	use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
102
        use gd && myconf="${myconf} --with-gd"
104
103
        use freetype && myconf="${myconf} --with-ttf --with-t1lib"
105
	# optional support for oracle oci8
104
        use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
106
	if [ "`use oci8`" ] ; then
105
        use png && myconf="${myconf} --with-png-dir=/usr"       
107
		if [ "$ORACLE_HOME" ] ; then
106
        use tiff && myconf="${myconf} --with-tiff-dir=/usr"
108
			myconf="${myconf} --with-oci8=${ORACLE_HOME}"
107
        use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
109
		fi
108
 
110
	fi
109
        # optional support for oracle oci8
110
        if [ "`use oci8`" ] ; then
111
                if [ "$ORACLE_HOME" ] ; then
112
                        myconf="${myconf} --with-oci8=${ORACLE_HOME}"
113
                fi
114
        fi
111
115
112
	use qt && ( \
116
	use qt && ( \
113
		export QTDIR=/usr/qt/2 #hope this helps - danarmak
117
		export QTDIR=/usr/qt/2 #hope this helps - danarmak
Lines 147-158 Link Here
147
    
151
    
148
	./configure \
152
	./configure \
149
		--prefix=/usr \
153
		--prefix=/usr \
150
		--with-gd \
151
		--with-gmp \
154
		--with-gmp \
152
                --with-bz2 \
155
                --with-bz2 \
153
		--with-ttf \
154
		--enable-ftp \
156
		--enable-ftp \
155
		--with-t1lib \
156
		--enable-dbase \
157
		--enable-dbase \
157
		--with-zlib=yes \
158
		--with-zlib=yes \
158
		--enable-bcmath \
159
		--enable-bcmath \
Lines 163-170 Link Here
163
		--enable-safe-mode \
164
		--enable-safe-mode \
164
		--enable-versioning \
165
		--enable-versioning \
165
		--enable-track-vars \
166
		--enable-track-vars \
166
		--with-png-dir=/usr \
167
		--with-jpeg-dir=/usr/lib \
168
		--enable-inline-optimization \
167
		--enable-inline-optimization \
169
		--with-apxs="/usr/sbin/apxs -ltiff" \
168
		--with-apxs="/usr/sbin/apxs -ltiff" \
170
		--with-exec-dir="/usr/lib/apache/bin" \
169
		--with-exec-dir="/usr/lib/apache/bin" \

Return to bug 4722