summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>