Ignore:
Timestamp:
2011-05-13T21:02:24+02:00 (5 years ago)
Author:
mhei
Message:

[packages] php5: add gettext module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/php5/Makefile

    r26870 r26887  
    1010PKG_NAME:=php 
    1111PKG_VERSION:=5.3.6 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    2626        exif \ 
    2727        ftp \ 
    28         gd gmp \ 
     28        gettext gd gmp \ 
    2929        hash \ 
    3030        iconv \ 
     
    130130        --disable-short-tags \ 
    131131        \ 
    132         --without-gettext \ 
    133132        --with-zlib="$(STAGING_DIR)/usr" \ 
    134133          --with-zlib-dir="$(STAGING_DIR)/usr" \ 
     
    188187else 
    189188  CONFIGURE_ARGS+= --disable-fileinfo 
     189endif 
     190 
     191ifneq ($(CONFIG_PACKAGE_php5-mod-gettext),) 
     192  CONFIGURE_ARGS+= --with-gettext=shared,"$(STAGING_DIR)/usr/lib/libintl-full" 
     193else 
     194  CONFIGURE_ARGS+= --without-gettext 
    190195endif 
    191196 
     
    480485$(eval $(call BuildModule,exif,EXIF)) 
    481486$(eval $(call BuildModule,ftp,FTP)) 
     487$(eval $(call BuildModule,gettext,Gettext,+libintl-full)) 
    482488$(eval $(call BuildModule,gd,GD graphics,+libgd)) 
    483489$(eval $(call BuildModule,gmp,GMP,+libgmp)) 
Note: See TracChangeset for help on using the changeset viewer.