From d980b824a4f328ff5307b69d451f56c902dd802d Mon Sep 17 00:00:00 2001 From: ehaupt Date: Tue, 16 May 2006 20:53:13 +0000 Subject: This port now respects CFLAGS. Since 'gcc' is hardcoded in a really nasty way CC still remains unrespected. PR: 96778 Submitted by: Gabor Kovesdan Approved by: Berend de Boer (maintainer) --- lang/smarteiffel/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lang/smarteiffel') diff --git a/lang/smarteiffel/Makefile b/lang/smarteiffel/Makefile index c5fd8247b391..445a16c0c44e 100644 --- a/lang/smarteiffel/Makefile +++ b/lang/smarteiffel/Makefile @@ -7,6 +7,7 @@ PORTNAME= smarteiffel DISTVERSION= 1.2r6 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://except.com.ar/downloads/smarteiffel/ DISTNAME= SmartEiffel-${DISTVERSION} @@ -30,6 +31,12 @@ PLIST_SUB+= PORTVERSION=${DISTVERSION} SUB_FILES= pkg-install pkg-message +post-patch: + @${REINPLACE_CMD} \ + -e 's|^.*c_compiler_options:.*$$|c_compiler_options: ${CFLAGS}|' \ + -e 's|^.*cpp_compiler_options:.*$$|cpp_compiler_options: ${CXXFLAGS}|' \ + ${WRKSRC}/install/gcc.rc + # Make sure we can set the symbolic link SmartEiffel # to the actual release directory. do-install: -- cgit