summaryrefslogtreecommitdiffstats
path: root/lang/tcl80/files
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-02-12 13:19:47 +0000
committerdas <das@FreeBSD.org>2005-02-12 13:19:47 +0000
commitd0a8169f66cd61514add7ee911c6b6db0e51c1b9 (patch)
tree2f20a76d035a3b6d76643819e4d11cd7456ce538 /lang/tcl80/files
parentffbef27bb1180c2cd5cf7122154e05f714d21605 (diff)
downloadFreeBSD-ports-d0a8169f66cd61514add7ee911c6b6db0e51c1b9.zip
FreeBSD-ports-d0a8169f66cd61514add7ee911c6b6db0e51c1b9.tar.gz
Fix build. Ports that formerly attempted to work around problems
created by matherr() no longer need to do so.
Diffstat (limited to 'lang/tcl80/files')
-rw-r--r--lang/tcl80/files/Makefile.lib5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/tcl80/files/Makefile.lib b/lang/tcl80/files/Makefile.lib
index 777fbd7..af17b23 100644
--- a/lang/tcl80/files/Makefile.lib
+++ b/lang/tcl80/files/Makefile.lib
@@ -7,13 +7,16 @@ CFLAGS+= -I. -I./../generic \
-DHAVE_GETCWD=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1\
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1\
-DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1\
- -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1\
+ -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1\
-DTCL_SHLIB_EXT=\".so\" \
-DHAVE_SYS_FILIO_H=1 \
-DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
-DTCL_PACKAGE_PATH="\"${PREFIX}/lib\"" \
-DNO_UNION_WAIT
+.if ${OSVERSION} < 600011
+CFLAGS+= -DNEED_MATHERR=1
+.endif
GENERIC_DIR= ../generic
OpenPOWER on IntegriCloud