use nls.mk
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 2 Feb 2011 20:42:37 +0000 (20:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 2 Feb 2011 20:42:37 +0000 (20:42 +0000)
SVN-Revision: 25329

efl/ecore/Makefile
efl/python-ecore/Makefile
efl/python-elementary/Makefile
efl/python-etk/Makefile

index 6878634d5f9b509d5357019a6ce33fb2af69b845..954c64e1ea5f8eac35ddecb03d1d4047caac755c 100644 (file)
@@ -26,6 +26,7 @@ PKG_FIXUP = libtool
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/ecore
   SECTION:=xorg-lib
@@ -33,8 +34,8 @@ define Package/ecore
   SUBMENU:=libraries
   TITLE:=Ecore is the core event abstraction layer and X abstraction layer
   URL:=http://wiki.enlightenment.org/index.php/Ecore
-  DEPENDS:=+fribidi +eina +evas +libiconv +libintl +libXtst +libXrandr +libX11 \
-  +libXcursor +libXdpms @!LINUX_2_4
+  DEPENDS:=+fribidi +eina +evas +libXtst +libXrandr +libX11 \
+       +libXcursor +libXdpms @!LINUX_2_4 $(ICONV_DEPENDS) $(INTL_DEPENDS)
 endef
 
 define Package/ecore/description
@@ -42,9 +43,8 @@ define Package/ecore/description
 endef
 
 # iconv needed for ecore-txt
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
 TARGET_LDFLAGS+= \
-       -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv \
+       -liconv \
        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
        -Wl,-rpath=/usr/lib \
 
index f4f53cb095aceb3faa32a9953d28f75878ceb418..402ad95032f1ac177bcb822a8ffe944164ed24ca 100644 (file)
@@ -23,6 +23,7 @@ PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_N
 PKG_BUILD_DEPENDS:=cython python
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
 
 define Package/python-ecore
@@ -37,9 +38,6 @@ define Package/python-ecore/description
   ecore python bindings
 endef
 
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
-TARGET_LDFLAGS+=-liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib
-
 define Build/Compile
        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
 endef
index f11f0bb2d6ea68692d6eecc1286b907a1070ed50..c8632e7e525897a1efaf7e72434c13a82d74b2bb 100644 (file)
@@ -23,6 +23,7 @@ PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_N
 PKG_BUILD_DEPENDS:=cython python
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
 
 define Package/python-elementary
@@ -37,9 +38,6 @@ define Package/python-elementary/description
   elementary python bindings
 endef
 
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
-TARGET_LDFLAGS+=-liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib
-
 define Build/Compile
        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
 endef
index 1ba7d766cb5a18049122a8cc823490be38e7dd0b..a0fa2d4732be489d8aba900f3c2fe16e2af8468d 100644 (file)
@@ -23,6 +23,7 @@ PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/OLD/BINDINGS/python/$(P
 PKG_BUILD_DEPENDS:=cython python
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
 
 define Package/python-etk
@@ -37,9 +38,6 @@ define Package/python-etk/description
   etk python bindings
 endef
 
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
-TARGET_LDFLAGS+=-liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib
-
 define Build/Compile
        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
 endef