pkgsrc-WIP-changes archive

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

ldc017: fix building wip/ldc017 on macos: bash_completion and PLIST libLLVM38: fix building libLLVM38 on macos: remove obsolete target



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <dan%alt.md@localhost>
Pushed By:	cirnatdan
Date:		Thu May 28 16:37:24 2020 +0200
Changeset:	6bfb22c039526eb8e9de88ea1805233de626d14b

Modified Files:
	ldc017/Makefile
	ldc017/PLIST
	libLLVM38/Makefile
Added Files:
	ldc017/PLIST.Linux

Log Message:
ldc017: fix building wip/ldc017 on macos: bash_completion and PLIST
libLLVM38: fix building libLLVM38 on macos: remove obsolete target

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

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

diffstat:
 ldc017/Makefile    |  3 +++
 ldc017/PLIST       |  1 -
 ldc017/PLIST.Linux |  1 +
 libLLVM38/Makefile | 10 ----------
 4 files changed, 4 insertions(+), 11 deletions(-)

diffs:
diff --git a/ldc017/Makefile b/ldc017/Makefile
index 1c1b2d7522..e20542de40 100644
--- a/ldc017/Makefile
+++ b/ldc017/Makefile
@@ -29,6 +29,9 @@ EGDIR=	${PREFIX}/share/examples/${PKGBASE}
 
 CONF_FILES=	${EGDIR}/ldc2.conf ${PKG_SYSCONFDIR}/ldc2.conf
 
+GENERATE_PLIST+=	cd ${DESTDIR}${PREFIX}; \
+                        ${FIND} * \( -type f -or -type l \) | ${SORT};
+
 post-install:
 	${MKDIR} -p ${DESTDIR}${EGDIR}	\
 		&& ${MV} ${DESTDIR}${PREFIX}/etc/ldc2.conf	\
diff --git a/ldc017/PLIST b/ldc017/PLIST
index 72abc79d5d..8fcb0e22d9 100644
--- a/ldc017/PLIST
+++ b/ldc017/PLIST
@@ -1,7 +1,6 @@
 @comment $NetBSD$
 bin/ldc2
 bin/ldmd2
-etc/bash_completion.d/ldc2
 include/d/core/atomic.d
 include/d/core/bitop.d
 include/d/core/checkedint.d
diff --git a/ldc017/PLIST.Linux b/ldc017/PLIST.Linux
new file mode 100644
index 0000000000..8a953ef500
--- /dev/null
+++ b/ldc017/PLIST.Linux
@@ -0,0 +1 @@
+etc/bash_completion.d/ldc2
diff --git a/libLLVM38/Makefile b/libLLVM38/Makefile
index 5959a13d83..45760a7dcd 100644
--- a/libLLVM38/Makefile
+++ b/libLLVM38/Makefile
@@ -130,16 +130,6 @@ SOEXT=		so
 .endif
 PLIST_SUBST+=	SOEXT=${SOEXT}
 
-.if ${OPSYS} == "Darwin"
-.PHONY: fix-darwin-install-name
-post-install: fix-darwin-install-name
-fix-darwin-install-name:
-.  for lib in BugpointPasses LLVMHello libLTO
-	install_name_tool -id ${PREFIX}/lib/${lib}.${SOEXT}	\
-		${DESTDIR}${PREFIX}/lib/${lib}.${SOEXT}
-.  endfor
-.endif
-
 .include "options.mk"
 
 # replacing config.guess is required even for cmake.


Home | Main Index | Thread Index | Old Index