pkgsrc-WIP-changes archive

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

isa-l: Hack around GNU configure + libtool wonkiness



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Wed May 31 13:13:31 2023 -0500
Changeset:	e70ae535074e59f14795293ce4b72b4934dcf2a1

Modified Files:
	isa-l/Makefile
	isa-l/distinfo
Added Files:
	isa-l/buildlink3.mk

Log Message:
isa-l: Hack around GNU configure + libtool wonkiness

Successfully building on NetBSD amd64

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

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

diffstat:
 isa-l/Makefile      |  7 ++++++-
 isa-l/buildlink3.mk | 12 ++++++++++++
 isa-l/distinfo      |  1 -
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs:
diff --git a/isa-l/Makefile b/isa-l/Makefile
index 0d6c2ccee3..49cfb618c0 100644
--- a/isa-l/Makefile
+++ b/isa-l/Makefile
@@ -19,6 +19,11 @@ LICENSE=	modified-bsd
 # work on any platform, though.
 # ONLY_FOR_PLATFORM=	*-*-x86_64 *-*-powerpc64 *-*-powerpc
 
+SUBST_CLASSES+=	lt
+SUBST_STAGE.lt=	post-configure
+SUBST_SED.lt=	-e 's|--mode=compile|--tag=CC --mode=compile|g'
+SUBST_FILES.lt=	Makefile
+
 DEPENDS=	yasm>0:../../devel/yasm
 
 USE_TOOLS+=	autoconf automake autoreconf gmake
@@ -27,6 +32,6 @@ GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
 pre-configure:
-	cd ${WRKSRC} && autoreconf -if
+	(cd ${WRKSRC} && autoreconf -if)
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/isa-l/buildlink3.mk b/isa-l/buildlink3.mk
new file mode 100644
index 0000000000..a0c27e3215
--- /dev/null
+++ b/isa-l/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	isa-l
+
+.if !defined(ISA_L_BUILDLINK3_MK)
+ISA_L_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.isa-l+=	isa-l>=2.30.0
+BUILDLINK_PKGSRCDIR.isa-l?=	../../wip/isa-l
+.endif	# ISA_L_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-isa-l
diff --git a/isa-l/distinfo b/isa-l/distinfo
index 4cdd67ca9d..f0381fd13a 100644
--- a/isa-l/distinfo
+++ b/isa-l/distinfo
@@ -5,4 +5,3 @@ SHA512 (isa-l-2.30.0.tar.gz) = d3ecfb7326097534b06a74b584100336509525ae7cadc6112
 Size (isa-l-2.30.0.tar.gz) = 649389 bytes
 SHA1 (patch-igzip_igzip.c) = bccd90c8460ceb3c5c11ac4278e1bb7b26431d0a
 SHA1 (patch-igzip_igzip__inflate.c) = 8c1b0bc4711d4a2be63d8c063e917b50c1237a5f
-SHA1 (patch-make.inc) = 6f7ca4206f26633a46fd974c7ffea39d3fba1f0e


Home | Main Index | Thread Index | Old Index