Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136207290
D53680.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D53680.diff
View Options
Index: net/wifi-firmware-kmod/Makefile.inc
===================================================================
--- net/wifi-firmware-kmod/Makefile.inc
+++ net/wifi-firmware-kmod/Makefile.inc
@@ -133,9 +133,9 @@
################################################################################
.for _f in ${DISTFILES_${FLAVOR}:O:u}
# Create firmware source directory and copy in distfile.
- @${MKDIR} ${WRKSRC}/fw/${_f:H}
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${_f} ${WRKSRC}/fw/${_f:C@(^[^?]*)${DISTURL_SUFFIX:Q}@\1@}
- @${ECHO_CMD} ${BOOTFWDIR}/${_f:C@(^[^?]*)${DISTURL_SUFFIX:Q}@\1@} >> ${PLIST}.tmp
+ @${MKDIR} ${WRKSRC}/fw/${_f:S@${STRIP_FWSUBDIR:Q}@@:H}
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/${_f} ${WRKSRC}/fw/${_f:C@(^[^?]*)${DISTURL_SUFFIX:Q}@\1@:S@${STRIP_FWSUBDIR:Q}@@}
+ @${ECHO_CMD} ${BOOTFWDIR}/${_f:C@(^[^?]*)${DISTURL_SUFFIX:Q}@\1@:S@${STRIP_FWSUBDIR:Q}@@} >> ${PLIST}.tmp
.endfor
(cd ${WRKSRC}/fw/ && ${FIND} . -type d -mindepth 1 | \
${AWK} -vB="${BOOTFWDIR}/" '{ sub("^./", "@dir "B); print; }') >> ${PLIST}.tmp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 17, 4:22 PM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25428733
Default Alt Text
D53680.diff (1 KB)
Attached To
Mode
D53680: net/wifi-firmware-kmod: add STRIP_FWSUBDIR logic
Attached
Detach File
Event Timeline
Log In to Comment