pkgsrc-wip/guile30/module.mk

25 lines
659 B
Makefile

# $NetBSD: module.mk,v 1.1 2019/11/12 12:41:19 ng0 Exp $
#
# Common build logic for Guile 3.0 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/3.0
CONFIGURE_ARGS+= --libdir=${PREFIX}/guile/3.0/lib
. if defined(GUILE_NEED_BOOTSTRAP)
USE_TOOLS+= automake autoconf autoreconf
pre-configure:
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -I${PREFIX}/guile/3.0/share/aclocal -vif)
. endif
.include "../../lang/guile30/buildlink3.mk"
.endif