Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115867631
D29171.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
722 B
Referenced Files
None
Subscribers
None
D29171.diff
View Options
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -449,8 +449,20 @@
_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}}
.endfor
+.if defined(PCFILES)
+.for pcfile in ${PCFILES}
+installpcfiles: installpcfiles-${pcfile}
+
+installpcfiles-${pcfile}: ${pcfile}
+ ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},dev} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+ ${_INSTALLFLAGS} \
+ ${.ALLSRC} ${DESTDIR}${LIBDATADIR}/pkgconfig
+.endfor
+.endif
+installpcfiles: .PHONY
+
.if !defined(INTERNALLIB)
-realinstall: _libinstall
+realinstall: _libinstall installpcfiles
.ORDER: beforeinstall _libinstall
_libinstall:
.if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 7:04 PM (15 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17853918
Default Alt Text
D29171.diff (722 B)
Attached To
Mode
D29171: bsd.lib.mk: Add a install target for .pc files
Attached
Detach File
Event Timeline
Log In to Comment