ldc017: fix building wip/ldc017 on macos: bash_completion and PLIST

libLLVM38: fix building libLLVM38 on macos: remove obsolete target
This commit is contained in:
Dan Cîrnaț 2020-05-28 16:37:24 +02:00
parent 725a13cab9
commit 6bfb22c039
4 changed files with 4 additions and 11 deletions

View File

@ -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 \

View File

@ -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

1
ldc017/PLIST.Linux Normal file
View File

@ -0,0 +1 @@
etc/bash_completion.d/ldc2

View File

@ -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.