pkgsrc-WIP-changes archive

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

libxslt-32: Update Makefile



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Tue Jul 9 20:08:24 2019 +0200
Changeset:	d3238f9e362b2dde36ce45abed22a409a43e8a8e

Modified Files:
	libxslt-32/Makefile

Log Message:
libxslt-32: Update Makefile

Remove non-library files
Add libxml2-32 as dependency

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

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

diffstat:
 libxslt-32/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diffs:
diff --git a/libxslt-32/Makefile b/libxslt-32/Makefile
index 6d483e23c4..30a8144655 100644
--- a/libxslt-32/Makefile
+++ b/libxslt-32/Makefile
@@ -26,8 +26,15 @@ BUILDLINK_TRANSFORM.SunOS+=	opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
 CPPFLAGS+=	-Dsocklen_t=int
 .endif
 
-#BUILDLINK_API_DEPENDS.libxml2+=	libxml2>=2.6.27
+BUILDLINK_API_DEPENDS.libxml2+=	libxml2>=2.6.27
 
-.include "../../security/libgcrypt/buildlink3.mk"
+remove non-libraries:
+	echo "Removing non-compat library package content"
+	find ${DESTDIR}${PREFIX} -path ${DESTDIR}${PREFIX}/lib${LIBABISUFFIX} -prune -o -type f -exec ${RM} {} +
+
+post-install: remove non-libraries
+
+.include "../../wip/libgcrypt-32/buildlink3.mk"
+.include "../../wip/libgpg-error-32/buildlink3.mk"
 .include "../../wip/libxml2-32/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index