aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-05-30 00:42:04 +0800
committernsayer <nsayer@FreeBSD.org>2000-05-30 00:42:04 +0800
commit667cee087a9f7c92e70bd24a1800b77e0f820946 (patch)
tree198d62ac278b89b6c01a3e790ee86296516deafa /databases
parent7056b1d652be0a1cfc6527b669a6feb6f058825b (diff)
downloadfreebsd-ports-gnome-667cee087a9f7c92e70bd24a1800b77e0f820946.tar.gz
freebsd-ports-gnome-667cee087a9f7c92e70bd24a1800b77e0f820946.tar.zst
freebsd-ports-gnome-667cee087a9f7c92e70bd24a1800b77e0f820946.zip
Make the port work in the absence of X
Submitted by: andrews@technologist.com
Diffstat (limited to 'databases')
-rw-r--r--databases/unixODBC/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index 27ba8cbd7986..c1e38df1d04f 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -14,6 +14,12 @@ MASTER_SITES= http://www.unixodbc.org/
MAINTAINER= nsayer@FreeBSD.org
GNU_CONFIGURE= yes
+.if defined(WITH_X)
USE_XLIB= yes
+CONFIGURE_ARGS+=--enable-gui
+.else
+CONFIGURE_ARGS+=--disable-gui
+USE_XLIB= yes
+.endif
.include <bsd.port.mk>