Add a post-configure target to set CFLAGS

Submitted by:	asami
This commit is contained in:
Jean-Marc Zucconi 1995-09-23 20:48:02 +00:00
parent 77ace0fbeb
commit 3d10f0cd0c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2192

View File

@ -3,7 +3,7 @@
# Date created: 6 November 1994
# Whom: jmz
#
# $Id: Makefile,v 1.8 1995/04/15 03:45:43 asami Exp $
# $Id: Makefile,v 1.9 1995/07/21 13:22:04 jmz Exp $
#
DISTNAME= ispell-3.1
@ -37,6 +37,9 @@ pre-configure:
@echo -n
.endif
post-configure:
@echo "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h
british:
@echo "Okay, making a british version of ispell...."
@${MAKE} ${.MAKEFLAGS} LANG=british all