pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libpwquality: fix pkgconfig file.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Mar 19 17:17:01 2016 +0100
Changeset:	da4868ece430d535770e29e8404bb9757de8a2d1

Modified Files:
	libpwquality/Makefile
	libpwquality/distinfo
Added Files:
	libpwquality/patches/patch-src_pwquality.pc.in

Log Message:
libpwquality: fix pkgconfig file.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da4868ece430d535770e29e8404bb9757de8a2d1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libpwquality/Makefile                          |  2 ++
 libpwquality/distinfo                          |  1 +
 libpwquality/patches/patch-src_pwquality.pc.in | 13 +++++++++++++
 3 files changed, 16 insertions(+)

diffs:
diff --git a/libpwquality/Makefile b/libpwquality/Makefile
index 3620787..852aeb1 100644
--- a/libpwquality/Makefile
+++ b/libpwquality/Makefile
@@ -21,6 +21,8 @@ CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/${CONFIG_DIR}
 
 INSTALLATION_DIRS+=	${PKG_SYSCONFDIR}/security
 
+PKGCONFIG_OVERRIDE=	src/pwquality.pc.in
+
 PY_PATCHPLIST=	yes
 
 CONF_FILES=	${CONFIG_DIR}/security/pwquality.conf \
diff --git a/libpwquality/distinfo b/libpwquality/distinfo
index 9e13892..fabb73c 100644
--- a/libpwquality/distinfo
+++ b/libpwquality/distinfo
@@ -4,3 +4,4 @@ SHA1 (libpwquality-1.3.0.tar.bz2) = a9f2eec48b9a04a836785e18c8b1f5a69d5920f7
 RMD160 (libpwquality-1.3.0.tar.bz2) = 5ca6e8eea9c3ee277ecb9aa9b2875748fe3ff000
 SHA512 (libpwquality-1.3.0.tar.bz2) = c3817c7a5ca962b161911b97b413a0db7c34a99ba2cd191435024abdbe060e248c0f88436f24d3992dcb1b00d34b88afb731ef1fd23efc3ad1abe56d4d7d53ea
 Size (libpwquality-1.3.0.tar.bz2) = 423910 bytes
+SHA1 (patch-src_pwquality.pc.in) = 28c62874fe8cd03f4c41df4d133b424bd7609a85
diff --git a/libpwquality/patches/patch-src_pwquality.pc.in b/libpwquality/patches/patch-src_pwquality.pc.in
new file mode 100644
index 0000000..c17b10d
--- /dev/null
+++ b/libpwquality/patches/patch-src_pwquality.pc.in
@@ -0,0 +1,13 @@
+$NetBSD$
+
+Fix pkg-config file to include libdir.
+
+--- src/pwquality.pc.in.orig	2012-12-19 16:52:09.000000000 +0000
++++ src/pwquality.pc.in
+@@ -1,5 +1,5 @@
+ Name: pwquality
+ Description: Password quality checker
+ Version: @PACKAGE_VERSION@
+-Libs: -lpwquality
++Libs: -L${libdir} -lpwquality
+ Libs.private: -lcrack


Home | Main Index | Thread Index | Old Index