Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176851694
D12577.1793505459.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
941 B
Referenced Files
None
Subscribers
None
D12577.1793505459.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
Sun, Nov 1, 3:57 AM (18 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41274302
Default Alt Text
D12577.1793505459.diff (941 B)
Attached To
Mode
D12577: Some more basic flavors work.
Attached
Detach File
Event Timeline