Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178361984
D29171.1796580799.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
722 B
Referenced Files
None
Subscribers
None
D29171.1796580799.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
Sun, Dec 6, 6:13 PM (21 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42261992
Default Alt Text
D29171.1796580799.diff (722 B)
Attached To
Mode
D29171: bsd.lib.mk: Add a install target for .pc files
Attached
Detach File
Event Timeline