Changeset 28509


Ignore:
Timestamp:
2011-10-21T22:58:46+02:00 (6 years ago)
Author:
mhei
Message:

[packages] php5: Introduce conditional dependencies

Thanks jow for the suggestion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/php5/Makefile

    r28508 r28509  
    1010PKG_NAME:=php 
    1111PKG_VERSION:=5.3.8 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    492492 
    493493#$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS])) 
    494 $(eval $(call BuildModule,apc,APC,+librt)) 
     494$(eval $(call BuildModule,apc,APC,+PACKAGE_php5-mod-apc:librt)) 
    495495$(eval $(call BuildModule,ctype,Ctype)) 
    496 $(eval $(call BuildModule,curl,cURL,+libcurl)) 
    497 $(eval $(call BuildModule,fileinfo,Fileinfo,+libmagic)) 
     496$(eval $(call BuildModule,curl,cURL,+PACKAGE_php5-mod-curl:libcurl)) 
     497$(eval $(call BuildModule,fileinfo,Fileinfo,+PACKAGE_php5-mod-fileinfo:libmagic)) 
    498498$(eval $(call BuildModule,dio,Direct IO)) 
    499 $(eval $(call BuildModule,dom,DOM,@PHP5_LIBXML +libxml2)) 
     499$(eval $(call BuildModule,dom,DOM,@PHP5_LIBXML +PACKAGE_php5-mod-dom:libxml2)) 
    500500$(eval $(call BuildModule,exif,EXIF)) 
    501501$(eval $(call BuildModule,ftp,FTP)) 
    502 $(eval $(call BuildModule,gettext,Gettext,+libintl-full)) 
    503 $(eval $(call BuildModule,gd,GD graphics,+libgd)) 
    504 $(eval $(call BuildModule,gmp,GMP,+libgmp)) 
     502$(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php5-mod-gettext:libintl-full)) 
     503$(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php5-mod-gd:libgd)) 
     504$(eval $(call BuildModule,gmp,GMP,+PACKAGE_php5-mod-gmp:libgmp)) 
    505505$(eval $(call BuildModule,hash,Hash)) 
    506 $(eval $(call BuildModule,http,HTTP,+libcurl +librt)) 
    507 $(eval $(call BuildModule,iconv,iConv,+libiconv)) 
     506$(eval $(call BuildModule,http,HTTP,+PACKAGE_php5-mod-http:libcurl +PACKAGE_php5-mod-http:librt)) 
     507$(eval $(call BuildModule,iconv,iConv,+PACKAGE_php5-mod-iconv:libiconv)) 
    508508$(eval $(call BuildModule,json,JSON)) 
    509 $(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2)) 
    510 $(eval $(call BuildModule,libevent,libevent,+libevent)) 
     509$(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php5-mod-ldap:libopenldap +PACKAGE_php5-mod-ldap:libsasl2)) 
     510$(eval $(call BuildModule,libevent,libevent,+PACKAGE_php5-mod-libevent:libevent)) 
    511511$(eval $(call BuildModule,mbstring,MBString)) 
    512 $(eval $(call BuildModule,mcrypt,Mcrypt,+libmcrypt +libltdl)) 
    513 $(eval $(call BuildModule,mysql,MySQL,+libmysqlclient)) 
    514 $(eval $(call BuildModule,openssl,OpenSSL,+libopenssl)) 
     512$(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php5-mod-mcrypt:libmcrypt +PACKAGE_php5-mod-mcrypt:libltdl)) 
     513$(eval $(call BuildModule,mysql,MySQL,+PACKAGE_php5-mod-mysql:libmysqlclient)) 
     514$(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php5-mod-openssl:libopenssl)) 
    515515$(eval $(call BuildModule,pcntl,PCNTL)) 
    516516$(eval $(call BuildModule,pdo,PHP Data Objects)) 
    517 $(eval $(call BuildModule,pdo-mysql,PDO driver for MySQL,php5-mod-pdo +libmysqlclient)) 
    518 $(eval $(call BuildModule,pdo-pgsql,PDO driver for PostgreSQL,php5-mod-pdo +libpq)) 
    519 $(eval $(call BuildModule,pdo-sqlite,PDO driver for SQLite 3.x,php5-mod-pdo +libsqlite3 +libpthread)) 
    520 $(eval $(call BuildModule,pgsql,PostgreSQL,+libpq)) 
     517$(eval $(call BuildModule,pdo-mysql,PDO driver for MySQL,+php5-mod-pdo +PACKAGE_php5-mod-pdo-mysql:libmysqlclient)) 
     518$(eval $(call BuildModule,pdo-pgsql,PDO driver for PostgreSQL,+php5-mod-pdo +PACKAGE_php5-mod-pdo-pgsql:libpq)) 
     519$(eval $(call BuildModule,pdo-sqlite,PDO driver for SQLite 3.x,+php5-mod-pdo +PACKAGE_php5-mod-pdo-sqlite:libsqlite3 +PACKAGE_php5-mod-pdo-sqlite:libpthread)) 
     520$(eval $(call BuildModule,pgsql,PostgreSQL,+PACKAGE_php5-mod-pgsql:libpq)) 
    521521$(eval $(call BuildModule,session,Session)) 
    522 $(eval $(call BuildModule,simplexml,SimpleXML,@PHP5_LIBXML +libxml2)) 
    523 $(eval $(call BuildModule,soap,SOAP,@PHP5_LIBXML +libxml2)) 
     522$(eval $(call BuildModule,simplexml,SimpleXML,@PHP5_LIBXML +PACKAGE_php5-mod-simplexml:libxml2)) 
     523$(eval $(call BuildModule,soap,SOAP,@PHP5_LIBXML +PACKAGE_php5-mod-soap:libxml2)) 
    524524$(eval $(call BuildModule,sockets,Sockets)) 
    525 $(eval $(call BuildModule,sqlite,SQLite 2.x,+libsqlite2)) 
    526 $(eval $(call BuildModule,sqlite3,SQLite3,+libsqlite3 +libpthread)) 
     525$(eval $(call BuildModule,sqlite,SQLite 2.x,+PACKAGE_php5-mod-sqlite:libsqlite2)) 
     526$(eval $(call BuildModule,sqlite3,SQLite3,+PACKAGE_php5-mod-sqlite3:libsqlite3 +PACKAGE_php5-mod-sqlite3:libpthread)) 
    527527$(eval $(call BuildModule,sysvmsg,System V messages)) 
    528528$(eval $(call BuildModule,sysvsem,System V shared memory)) 
     
    530530$(eval $(call BuildModule,tokenizer,Tokenizer)) 
    531531$(eval $(call BuildModule,xml,XML,+PHP5_LIBXML:libxml2 +!PHP5_LIBXML:libexpat)) 
    532 $(eval $(call BuildModule,xmlreader,XMLReader,@PHP5_LIBXML +libxml2 +libiconv)) 
    533 $(eval $(call BuildModule,xmlwriter,XMLWriter,@PHP5_LIBXML +libxml2 +libiconv)) 
     532$(eval $(call BuildModule,xmlreader,XMLReader,@PHP5_LIBXML +PACKAGE_php5-mod-xmlreader:libxml2 +PACKAGE_php5-mod-xmlreader:libiconv)) 
     533$(eval $(call BuildModule,xmlwriter,XMLWriter,@PHP5_LIBXML +PACKAGE_php5-mod-xmlwriter:libxml2 +PACKAGE_php5-mod-xmlwriter:libiconv)) 
Note: See TracChangeset for help on using the changeset viewer.