aboutsummaryrefslogtreecommitdiffstats
path: root/math/sc
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2009-03-29 05:54:01 +0800
committerjohans <johans@FreeBSD.org>2009-03-29 05:54:01 +0800
commit9d0371d29180a74c6954dd7aa3f3a269747df02a (patch)
tree8ab67b9da065bb6434f6afd64ad1640d541a53a2 /math/sc
parent2b1c79050e759718cba537a2bee1c5ad8786e29b (diff)
downloadfreebsd-ports-gnome-9d0371d29180a74c6954dd7aa3f3a269747df02a.tar.gz
freebsd-ports-gnome-9d0371d29180a74c6954dd7aa3f3a269747df02a.tar.zst
freebsd-ports-gnome-9d0371d29180a74c6954dd7aa3f3a269747df02a.zip
Explicitly compile with -O0 to avoid compiler optimization,
which could cause "interesting" malfunctions while running sc
Diffstat (limited to 'math/sc')
-rw-r--r--math/sc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/sc/Makefile b/math/sc/Makefile
index df9765ca0e3c..a952a58cee19 100644
--- a/math/sc/Makefile
+++ b/math/sc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sc
PORTVERSION= 7.16
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/financial/spreadsheet
@@ -21,7 +22,7 @@ MAN1= sc.1 psc.1
post-patch:
@${REINPLACE_CMD} -e '/^prefix=/s,=.*,=$${PREFIX},' \
-e '/^CC=/s,=.*,=${CC},' \
- -e '/^CFLAGS=/s,=.*,=-DSYSV3 ${CFLAGS},' \
+ -e '/^CFLAGS=/s,=.*,=-DSYSV3 ${CFLAGS} -O0,' \
-e '/^LIBDIR=/s,=.*,=${DATADIR},' \
-e '/^YACC=/s,=.*,=${YACC},' \
-e '/usr.bin.crypt/s,^# *,,' \