Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141030476
D6075.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
921 B
Referenced Files
None
Subscribers
None
D6075.diff
View Options
Index: head/Mk/bsd.port.mk
===================================================================
--- head/Mk/bsd.port.mk
+++ head/Mk/bsd.port.mk
@@ -4328,6 +4328,17 @@
_UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} ${TEST_DEPENDS}
_DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,}
+.for d in ${_UNIFIED_DEPENDS:M*\:/*}
+# Fight .for variable interpolation differently for each version of make...
+.if defined(.PARSEDIR)
+_PORTSDIR_STR= $${PORTSDIR}/
+DEV_WARNING+= "It looks like the ${d} depends line has an absolute port origin, make sure to remove \$${_PORTSDIR_STR} from it."
+.else
+_PORTSDIR_STR= $$$${PORTSDIR}/
+DEV_WARNING+= "It looks like the ${d} depends line has an absolute port origin, make sure to remove \$${_PORTSDIR_STR} from it."
+.endif
+.endfor
+
all-depends-list:
@${ALL-DEPENDS-LIST}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 31, 11:29 PM (3 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27424242
Default Alt Text
D6075.diff (921 B)
Attached To
Mode
D6075: Add a warning about using PORTSDIR in a *_DEPENDS line.
Attached
Detach File
Event Timeline
Log In to Comment