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/libXau/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'package/libXau') diff --git a/package/libXau/Makefile b/package/libXau/Makefile index 605eae7db..57bc980c0 100644 --- a/package/libXau/Makefile +++ b/package/libXau/Makefile @@ -9,7 +9,8 @@ PKG_RELEASE:= 2 PKG_MD5SUM:= 3ab7a4d1aac1b7f8ccc6b9755a19f252 PKG_DESCR:= x11 authorisation library PKG_SECTION:= x11/libs -PKG_BUILDDEP:= xproto libXau-host +PKG_BUILDDEP:= xproto +HOST_BUILDDEP:= xproto-host PKG_SITES:= ${MASTER_SITE_XORG} PKG_LIBNAME:= libxau PKG_OPTS:= dev @@ -22,8 +23,6 @@ include $(TOPDIR)/mk/package.mk $(eval $(call HOST_template,LIBXAU,libxau,$(PKG_VERSION)-${PKG_RELEASE})) $(eval $(call PKG_template,LIBXAU,libxau,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -HOST_STYLE:= auto - libxau-install: ${INSTALL_DIR} ${IDIR_LIBXAU}/usr/lib ${CP} ${WRKINST}/usr/lib/libXau.so* ${IDIR_LIBXAU}/usr/lib/ -- cgit v1.2.3