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:
parent
725a13cab9
commit
6bfb22c039
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
etc/bash_completion.d/ldc2
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue