aboutsummaryrefslogtreecommitdiff
path: root/graphics/libimg/files/Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libimg/files/Makefile.bsd')
-rw-r--r--graphics/libimg/files/Makefile.bsd5
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/libimg/files/Makefile.bsd b/graphics/libimg/files/Makefile.bsd
index a32af87dee1d..310b534be74c 100644
--- a/graphics/libimg/files/Makefile.bsd
+++ b/graphics/libimg/files/Makefile.bsd
@@ -2,9 +2,7 @@ SHLIB_NAME?= libimg.so.1
PORTVERSION?= 1.2.4
LOCALBASE?= /usr/local
-.if !defined(TCL_VER)
-TCL_VER= 8.4
-.endif
+TCL_VER?= 8.4
.if exists(${LOCALBASE}/lib/tk${TCL_VER}/tkConfig.sh)
# If for some reason the file does not exist -- make the best guess. In
@@ -30,7 +28,6 @@ CFLAGS+= -I${LOCALBASE}/include/tk${TCL_VER}
CFLAGS+= -DNDEBUG -Wall -I. -DUSE_TCL_STUBS -DUSE_TK_STUBS
CFLAGS+= -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
CFLAGS+= -DHAVE_JPEGLIB_H -DHAVE_TIFF_H -DHAVE_DLFCN_H -DHAVE_IMG_H
-CFLAGS+= -DHAVE_INTTYPES_H -DHAVE_STDINT_H -DHAVE_UNISTD_H
all: pkgIndex.tcl