From bf8903fa567e5c1b5d923c6f1c0aeb1d2fd1192a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 15 Jun 2014 13:09:33 +0200 Subject: cleanup HOST_STYLE, use SYSROOT feature for pkgconf there are three HOST_STYLE's, not set mean fully automatic installation. auto means prefix is set to /usr and DESTDIR is set to STAGING_HOST_DIR. When using manual, you need to provide your own targets. Instead of using sed to modify *.pc files, use PKG_SYSROOT feature, which does work better and avoids pathcing some pc files. Idea from sh4rm via #musl. --- package/libIDL/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/libIDL/Makefile') diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile index cfdd250ea..df5b30489 100644 --- a/package/libIDL/Makefile +++ b/package/libIDL/Makefile @@ -10,7 +10,8 @@ PKG_MD5SUM:= 531fbc1b40b80dd1d6f3b5e76b99067c PKG_DESCR:= libraries for interface definition language files PKG_SECTION:= libs/misc PKG_DEPENDS:= glib -PKG_BUILDDEP:= glib-host glib m4-host flex-host bison-host libIDL-host +PKG_BUILDDEP:= glib +HOST_BUILDDEP:= glib-host PKG_URL:= http://www.gnome.org/ PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/ PKG_LIBNAME:= libidl @@ -21,12 +22,11 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz include $(TOPDIR)/mk/host.mk include $(TOPDIR)/mk/package.mk -CONFIGURE_ENV+= libIDL_cv_long_long_format=ll - $(eval $(call HOST_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE})) $(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -HOST_STYLE:= auto +CONFIGURE_ENV+= libIDL_cv_long_long_format=ll +#HOST_STYLE:= auto libidl-install: $(INSTALL_DIR) $(IDIR_LIBIDL)/usr/lib -- cgit v1.2.3