diff options
Diffstat (limited to 'lang/tcl80/files')
-rw-r--r-- | lang/tcl80/files/Makefile.lib | 5 |
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 |