pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/guile22 guile22: Add module.mk for commonly share...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f471e46457bb
branches: trunk
changeset: 417496:f471e46457bb
user: ng0 <ng0%pkgsrc.org@localhost>
date: Tue Nov 12 12:41:19 2019 +0000
description:
guile22: Add module.mk for commonly shared operations.
diffstat:
lang/guile22/module.mk | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r 3c7ab82c5431 -r f471e46457bb lang/guile22/module.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/guile22/module.mk Tue Nov 12 12:41:19 2019 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: module.mk,v 1.1 2019/11/12 12:41:19 ng0 Exp $
+#
+# Common build logic for Guile 2.2 modules using gnu configure.
+#
+# === Package-settable-variables ===
+#
+# GUILE_NEED_BOOTSTRAP
+# Whether the package requires a bootstrap run of autotools
+# or not.
+#
+# Possible values: yes no
+
+.if defined(GNU_CONFIGURE)
+GNU_CONFIGURE_PREFIX= ${PREFIX}/guile/2.2
+CONFIGURE_ARGS+= --libdir=${PREFIX}/guile/2.2/lib
+
+.if defined(GUILE_NEED_BOOTSTRAP)
+USE_TOOLS+= automake autoconf autoreconf
+pre-configure:
+ (cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -I${PREFIX}/guile/2.2/share/aclocal -vif)
+.endif
+
+.include "../../lang/guile22/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index