pkgsrc-WIP-changes archive

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

gcc10-libjit: fix package following hints from mrg



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Apr 5 10:23:27 2023 +0200
Changeset:	057e68ea3c4aea521eb6a46ebdce3cd52fb85451

Modified Files:
	gcc10-libjit/Makefile
	gcc10-libjit/PLIST

Log Message:
gcc10-libjit: fix package following hints from mrg

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

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

diffstat:
 gcc10-libjit/Makefile | 5 ++++-
 gcc10-libjit/PLIST    | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/gcc10-libjit/Makefile b/gcc10-libjit/Makefile
index 3ddffd4ce8..c325006347 100644
--- a/gcc10-libjit/Makefile
+++ b/gcc10-libjit/Makefile
@@ -52,6 +52,8 @@ UNLIMIT_RESOURCES+=	stacksize
 
 CHECK_PORTABILITY_SKIP+=	contrib/*
 
+INSTALLATION_DIRS=	lib
+
 .include "options.mk"
 
 ## For graphite support.
@@ -65,6 +67,7 @@ post-extract:
 .include "../../mk/bsd.prefs.mk"
 
 CONFIGURE_ARGS+=	--enable-languages=jit
+CONFIGURE_ARGS+=	--without-static-standard-libraries
 CONFIGURE_ARGS+=	--disable-bootstrap
 CONFIGURE_ARGS+=	--enable-host-shared
 CONFIGURE_ARGS.NetBSD+=	--with-gnu-ld --with-ld=/usr/bin/ld
@@ -88,7 +91,7 @@ pre-configure:
 	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
 
 do-install:
-	${INSTALL_LIB} ${OBJDIR}/gcc/libgccjit.so* ${DESTDIR}${PREFIX}/lib
+	${INSTALL_LIB} ${WRKSRC}/${OBJDIR}/gcc/libgccjit.so* ${DESTDIR}${PREFIX}/lib
 
 CHECK_BUILTIN.zlib:= yes
 .include "../../devel/zlib/builtin.mk"
diff --git a/gcc10-libjit/PLIST b/gcc10-libjit/PLIST
index 08b8828b4f..36a05aee98 100644
--- a/gcc10-libjit/PLIST
+++ b/gcc10-libjit/PLIST
@@ -1,2 +1,4 @@
 @comment $NetBSD$
-lib/libgcc-jit.so
+lib/libgccjit.so
+lib/libgccjit.so.0
+lib/libgccjit.so.0.0.1


Home | Main Index | Thread Index | Old Index