pkg-config: Add CONFLICTS for pkgconf
authorRosen Penev <rosenp@gmail.com>
Sat, 2 Nov 2019 18:13:22 +0000 (11:13 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 2 Nov 2019 18:14:50 +0000 (11:14 -0700)
Fixed license information.

Added PKG_BUILD_PARALLEL for faster compilation.

Remove PKG_ASLR_PIE. It seems it's going through a rework.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
devel/pkg-config/Makefile

index 5bfebd28eba42a3f64108359f6dd8891d7064bdf..3ea917e276234baad3d09825416d56466905aecb 100644 (file)
@@ -9,16 +9,18 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pkg-config
 PKG_VERSION:=0.29.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=https://pkg-config.freedesktop.org/releases/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_HASH:=6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591
+
 PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
 PKG_LICENSE:=GPL-2.0-or-later
+PKG_LICENSE_FILES:=COPYING
 
-PKG_ASLR_PIE:=1
 PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk
@@ -29,6 +31,7 @@ define Package/pkg-config
   TITLE:=pkg-config
   URL:=https://www.freedesktop.org/wiki/Software/pkg-config/
   DEPENDS:=+glib2 $(INTL_DEPENDS)
+  CONFLICTS:=pkgconf
 endef
 
 define Package/pkg-config/description
@@ -39,6 +42,8 @@ define Package/pkg-config/description
   other libraries).
 endef
 
+TARGET_CFLAGS += $(FPIC)
+
 define Package/pkg-config/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pkg-config $(1)/usr/bin/