summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-09-01 09:04:20 +0000
committersat <sat@FreeBSD.org>2006-09-01 09:04:20 +0000
commit218bd485bf1ccab9397587f4de0bb9218f89973a (patch)
tree77a66058b9460278f1e1131664f8608439b8c1e9 /astro
parentf90d0c4c86ca808fe539e597e51e863d92069197 (diff)
downloadFreeBSD-ports-218bd485bf1ccab9397587f4de0bb9218f89973a.zip
FreeBSD-ports-218bd485bf1ccab9397587f4de0bb9218f89973a.tar.gz
- LIB_DEPEND on Tcl/Tk
Reported by: pointyhat via kris
Diffstat (limited to 'astro')
-rw-r--r--astro/tclgeomap/Makefile2
-rw-r--r--astro/tkgeomap/Makefile9
2 files changed, 5 insertions, 6 deletions
diff --git a/astro/tclgeomap/Makefile b/astro/tclgeomap/Makefile
index 7bfdd74..a68dbd5 100644
--- a/astro/tclgeomap/Makefile
+++ b/astro/tclgeomap/Makefile
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= tkgeomap
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Read, manipulate and display geo data
+LIB_DEPENDS= tcl${USE_TCL}.1:${PORTSDIR}/lang/tcl${USE_TCL}
+
USE_TCL= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
diff --git a/astro/tkgeomap/Makefile b/astro/tkgeomap/Makefile
index d2c8718..671355b 100644
--- a/astro/tkgeomap/Makefile
+++ b/astro/tkgeomap/Makefile
@@ -13,13 +13,10 @@ MASTER_SITES= SF
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Read, manipulate and display geo data
-LIB_DEPENDS= tclgeomap${PORTVERSION}.0:${PORTSDIR}/astro/tclgeomap
+LIB_DEPENDS= tclgeomap${PORTVERSION}.0:${PORTSDIR}/astro/tclgeomap \
+ tk${USE_TK}.1:${PORTSDIR}/x11-toolkits/tk${USE_TK}
-.ifndef WITHOUT_X11
-USE_XLIB= yes
-CONFIGURE_ARGS= --with-x
-.endif
-CONFIGURE_ARGS+= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap
+CONFIGURE_ARGS= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap --with-x
USE_TK= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
OpenPOWER on IntegriCloud