From 44f5b44aaee606a694c2ed3cf678be3418655291 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 2 Feb 2011 20:42:37 +0000 Subject: [PATCH] use nls.mk SVN-Revision: 25329 --- efl/ecore/Makefile | 8 ++++---- efl/python-ecore/Makefile | 4 +--- efl/python-elementary/Makefile | 4 +--- efl/python-etk/Makefile | 4 +--- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/efl/ecore/Makefile b/efl/ecore/Makefile index 6878634..954c64e 100644 --- a/efl/ecore/Makefile +++ b/efl/ecore/Makefile @@ -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 \ diff --git a/efl/python-ecore/Makefile b/efl/python-ecore/Makefile index f4f53cb..402ad95 100644 --- a/efl/python-ecore/Makefile +++ b/efl/python-ecore/Makefile @@ -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 diff --git a/efl/python-elementary/Makefile b/efl/python-elementary/Makefile index f11f0bb..c8632e7 100644 --- a/efl/python-elementary/Makefile +++ b/efl/python-elementary/Makefile @@ -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 diff --git a/efl/python-etk/Makefile b/efl/python-etk/Makefile index 1ba7d76..a0fa2d4 100644 --- a/efl/python-etk/Makefile +++ b/efl/python-etk/Makefile @@ -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 -- 2.30.2