pkgsrc/lang/ecl/Makefile
jperkin 5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00

34 lines
980 B
Makefile

# $NetBSD: Makefile,v 1.24 2018/07/04 13:40:21 jperkin Exp $
DISTNAME= ecl-16.1.2
CATEGORIES= lang
MASTER_SITES= https://common-lisp.net/project/ecl/files/release/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tgz
MAINTAINER= asau@inbox.ru
HOMEPAGE= https://common-lisp.net/project/ecl/
COMMENT= Embeddable Common Lisp
LICENSE= gnu-lgpl-v2
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake makeinfo
INFO_FILES= yes
CONFIGURE_ARGS+= --enable-boehm=system --with-system-gmp
SUBST_CLASSES+= fix-libffi-include
SUBST_STAGE.fix-libdir= pre-configure
SUBST_MESSAGE.fix-libdir= Fixing libffi layout.
SUBST_FILES.fix-libdir= src/c/ffi.d
SUBST_SED.fix-libdir= -e '/include.*<ffi/ffi.h>/s:ffi/ffi.h:ffi.h:'
.include "options.mk"
PLIST_SUBST= PKGVERSION_MAJOR_MINOR=${PKGVERSION_NOREV:R} \
PKGVERSION_MAJOR=${PKGVERSION_NOREV:R:R}
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"