pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/deforaos-configure
Module Name: pkgsrc
Committed By: khorben
Date: Tue May 17 17:31:19 UTC 2022
Modified Files:
pkgsrc/devel/deforaos-configure: deforaos-configure.mk
Log Message:
deforaos-configure.mk: explicitly support configuration modes
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
pkgsrc/devel/deforaos-configure/deforaos-configure.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/deforaos-configure/deforaos-configure.mk
diff -u pkgsrc/devel/deforaos-configure/deforaos-configure.mk:1.5 pkgsrc/devel/deforaos-configure/deforaos-configure.mk:1.6
--- pkgsrc/devel/deforaos-configure/deforaos-configure.mk:1.5 Sat Apr 30 21:53:23 2022
+++ pkgsrc/devel/deforaos-configure/deforaos-configure.mk Tue May 17 17:31:18 2022
@@ -1,4 +1,4 @@
-# $NetBSD: deforaos-configure.mk,v 1.5 2022/04/30 21:53:23 khorben Exp $
+# $NetBSD: deforaos-configure.mk,v 1.6 2022/05/17 17:31:18 khorben Exp $
#
# used by audio/deforaos-mixer/Makefile
# used by devel/deforaos-asm/Makefile
@@ -11,11 +11,23 @@ BUILD_DEPENDS+= deforaos-configure-[0-9]
DEFORAOS_CONFIGURE?= ${PREFIX}/bin/configure
DEFORAOS_CONFIGURE_ARGS?= -v
DEFORAOS_CONFIGURE_DIRS?= .
-_BUILD_DEFS+= DEFORAOS_CONFIGURE DEFORAOS_CONFIGURE_ARGS DEFORAOS_CONFIGURE_DIRS
+DEFORAOS_CONFIGURE_MODE?=
+_BUILD_DEFS+= DEFORAOS_CONFIGURE \
+ DEFORAOS_CONFIGURE_ARGS \
+ DEFORAOS_CONFIGURE_DIRS \
+ DEFORAOS_CONFIGURE_MODE
_DO_CONFIGURE_TARGETS+= do-configure-deforaos
do-configure-deforaos:
-.for dir in ${DEFORAOS_CONFIGURE_DIRS}
- @${ECHO_MSG} "Running DeforaOS configure in ${dir}"
- @${RUN} cd ${WRKSRC} && ${DEFORAOS_CONFIGURE} ${DEFORAOS_CONFIGURE_ARGS} ${dir}
-.endfor
+.if !empty(DEFORAOS_CONFIGURE_MODE)
+ @${ECHO_MSG} "Running DeforaOS configure (${DEFORAOS_CONFIGURE_MODE})"
+ @${RUN} cd ${WRKSRC} && ${DEFORAOS_CONFIGURE} \
+ -M ${DEFORAOS_CONFIGURE_MODE} \
+ ${DEFORAOS_CONFIGURE_ARGS} \
+ ${DEFORAOS_CONFIGURE_DIRS}
+.else
+ @${ECHO_MSG} "Running DeforaOS configure"
+ @${RUN} cd ${WRKSRC} && ${DEFORAOS_CONFIGURE} \
+ ${DEFORAOS_CONFIGURE_ARGS} \
+ ${DEFORAOS_CONFIGURE_DIRS}
+.endif
Home |
Main Index |
Thread Index |
Old Index