Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149703970
D24324.id70290.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
685 B
Referenced Files
None
Subscribers
None
D24324.id70290.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1303,6 +1303,19 @@
.endif
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
+
+# this is after default-versions so it can override blah_VERSION, but
+# before options which has its own mechanism for per-port make.conf
+# options
+
+.for var in ${${PKGORIGIN:S/\//_/}_VARS:C/=.*//:O:u}
+. if ${var:M*+}
+${var:C/.$//:tu}+= ${${PKGORIGIN:S/\//_/}_VARS:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
+. else
+${var:tu}= ${${PKGORIGIN:S/\//_/}_VARS:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/}
+. endif
+.endfor
+
.include "${PORTSDIR}/Mk/bsd.options.mk"
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 27, 9:25 AM (14 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30421195
Default Alt Text
D24324.id70290.diff (685 B)
Attached To
Mode
D24324: Allow category_port_VARS= in make.conf for arbitrary per-port overrides.
Attached
Detach File
Event Timeline
Log In to Comment