Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144363945
D12577.id33656.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
941 B
Referenced Files
None
Subscribers
None
D12577.id33656.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1058,8 +1058,7 @@
NOTPHONY?=
FLAVORS?=
FLAVOR?=
-# XXX: We have no real FLAVORS support in ports or tools yet.
-#PORTS_FEATURES+= FLAVORS
+PORTS_FEATURES+= FLAVORS
MINIMAL_PKG_VERSION= 1.6.0
_PORTS_DIRECTORIES+= ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR} \
@@ -4304,6 +4303,7 @@
INDEX_OUT=/dev/stdout
. endif
+. if empty(FLAVORS) || defined(DESCRIBE_FLAVORED)
describe:
@(${ECHO_CMD} -n "${PKGNAME}|${.CURDIR}|${PREFIX}|"; \
${ECHO_CMD} -n ${COMMENT:Q}; \
@@ -4318,6 +4318,13 @@
;; \
esac; \
done < ${DESCR}; ${ECHO_CMD}) >>${INDEX_OUT}
+. else # empty(FLAVORS)
+describe: ${FLAVORS:S/^/describe-/}
+. for f in ${FLAVORS}
+describe-${f}:
+ @cd ${.CURDIR} && ${MAKE} -B FLAVOR=${f} -DDESCRIBE_FLAVORED describe
+. endfor
+. endif # empty(FLAVORS)
. endif
www-site:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 1:39 AM (8 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28522291
Default Alt Text
D12577.id33656.diff (941 B)
Attached To
Mode
D12577: Some more basic flavors work.
Attached
Detach File
Event Timeline
Log In to Comment