aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-17 21:32:54 +0800
committerarved <arved@FreeBSD.org>2004-02-17 21:32:54 +0800
commite11d71583ae89d925dcb7c59613bd2dfc3873e04 (patch)
tree008b8c760fec4a16f15ec1db5db6ecf8f300e6b1 /lang
parente9ce0051220ad5a1e67bcde82ef3423048ab8c22 (diff)
downloadfreebsd-ports-gnome-e11d71583ae89d925dcb7c59613bd2dfc3873e04.tar.gz
freebsd-ports-gnome-e11d71583ae89d925dcb7c59613bd2dfc3873e04.tar.zst
freebsd-ports-gnome-e11d71583ae89d925dcb7c59613bd2dfc3873e04.zip
Respect CFLAGS
Diffstat (limited to 'lang')
-rw-r--r--lang/cel/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/cel/Makefile b/lang/cel/Makefile
index 12cb80517cd5..bf6dd0c43f9e 100644
--- a/lang/cel/Makefile
+++ b/lang/cel/Makefile
@@ -18,6 +18,7 @@ COMMENT= A small, simple prototype-based OO language
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
+USE_REINPLACE= yes
PORTDOCS= CoreArchitecture.html DefaultProtos Linker.html \
Logs.html ProtoLanguage.html README SimpleDataFormat.html \
@@ -26,6 +27,11 @@ PLIST_FILES= bin/cel
.include <bsd.port.pre.mk>
+post-patch:
+ ${REINPLACE_CMD} -e "s,-fno-omit-frame-pointer,${CFLAGS}," \
+ ${WRKSRC}/hash/Makefile ${WRKSRC}/kits/Makefile.unix \
+ ${WRKSRC}/vm/Makefile.unix
+
do-configure:
@cd ${WRKSRC}; ${SH} ./config.unix