Record build options in the BuildInfo file via BUILD_DEFS. These can be

displayed using the -B option to pkg_info(1).
This commit is contained in:
agc 1999-08-18 08:38:51 +00:00
parent f721b0e129
commit 30ddf4d2ed

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 1999/07/29 21:15:46 tron Exp $
# $NetBSD: Makefile,v 1.10 1999/08/18 08:38:51 agc Exp $
DISTNAME= inn-2.2
CATEGORIES= news
@ -32,6 +32,8 @@ CONFIGURE_ENV+= _PATH_PERL=${LOCALBASE}/bin/perl
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
BUILD_DEFS+= INN_DATA_DIR
post-build:
${SED} -e 's#@@INN_DATA_DIR@@#${INN_DATA_DIR}#g' \
-e 's#@@PREFIX@@#${PREFIX}#g' \