Page MenuHomeFreeBSD

D37500.1790554854.diff
No OneTemporary

Size
968 B
Referenced Files
None
Subscribers
None

D37500.1790554854.diff

Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1053,6 +1053,11 @@
# make -C /usr/ports/category/port/.
.CURDIR:= ${.CURDIR:tA}
+# Ensure .CURDIR doesn't contain a colon, which breaks makefile targets
+.if ${.CURDIR:S/:/\:/g} != ${.CURDIR}
+.error The current directory path contains ':', that are not supported
+.endif
+
# make sure bmake treats -V as expected
.MAKE.EXPAND_VARIABLES= yes
Index: Mk/bsd.port.subdir.mk
===================================================================
--- Mk/bsd.port.subdir.mk
+++ Mk/bsd.port.subdir.mk
@@ -51,6 +51,11 @@
# make -C /usr/ports/category/port/.
.CURDIR:= ${.CURDIR:tA}
+# Ensure .CURDIR doesn't contain a colon, which breaks makefile targets
+.if ${.CURDIR:S/:/\:/g} != ${.CURDIR}
+.error The current directory path contains ':', that are not supported
+.endif
+
.include "${PORTSDIR}/Mk/bsd.commands.mk"
.MAIN: all

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 28, 12:20 AM (1 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29946307
Default Alt Text
D37500.1790554854.diff (968 B)

Event Timeline