mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix a few lib/pkgconfig → libdata/pkgconfig that crept in between the
exp-run and the commit. Reported by: antoine Sponsored by: Absolight
This commit is contained in:
parent
16600d0c13
commit
c304fb63fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442907
3 changed files with 0 additions and 22 deletions
|
@ -65,18 +65,4 @@ MESON_BUILD_DIR?= _build
|
||||||
# Add meson build dir at the end.
|
# Add meson build dir at the end.
|
||||||
CONFIGURE_ARGS+= ${MESON_BUILD_DIR}
|
CONFIGURE_ARGS+= ${MESON_BUILD_DIR}
|
||||||
|
|
||||||
# Add this workaround copied from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218067
|
|
||||||
# to make sure meson installs the pkg-config in the current correct place
|
|
||||||
.if !target(fixup-lib-pkgconfig)
|
|
||||||
_USES_install+= 601:fixup-lib-pkgconfig
|
|
||||||
fixup-lib-pkgconfig:
|
|
||||||
@if [ -d ${STAGEDIR}${PREFIX}/lib/pkgconfig ]; then \
|
|
||||||
if [ -z "$$(${FIND} ${STAGEDIR}${PREFIX}/lib/pkgconfig -maxdepth 0 -empty)" ]; then \
|
|
||||||
${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \
|
|
||||||
${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/* ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \
|
|
||||||
fi; \
|
|
||||||
${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig; \
|
|
||||||
fi
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.endif #!defined(_INCLUDE_USES_MESON_MK)
|
.endif #!defined(_INCLUDE_USES_MESON_MK)
|
||||||
|
|
|
@ -26,8 +26,4 @@ PLIST_FILES= include/cltune.h \
|
||||||
lib/libcltune.so \
|
lib/libcltune.so \
|
||||||
libdata/pkgconfig/cltune.pc
|
libdata/pkgconfig/cltune.pc
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/cltune.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/cltune.pc
|
|
||||||
@${RM} -r ${STAGEDIR}/${PREFIX}/lib/pkgconfig
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -22,8 +22,4 @@ GH_PROJECT= CLBlast
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USES= cmake
|
USES= cmake
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/clblast.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/clblast.pc
|
|
||||||
@${RM} -r ${STAGEDIR}/${PREFIX}/lib/pkgconfig
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue