aboutsummaryrefslogtreecommitdiff
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-05-29 16:42:04 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-05-29 16:42:04 +0000
commit2d610cd8b416a6a6c1a8e2fa2e745b3bd4aa7ad9 (patch)
treef16fd56b151a9bd24482a3cb8417ab0d9d1b69f0 /databases/unixODBC
parent0197979a6c6f98f158bdb40416dcf5f2c38dffaf (diff)
downloadports-2d610cd8b416a6a6c1a8e2fa2e745b3bd4aa7ad9.tar.gz
ports-2d610cd8b416a6a6c1a8e2fa2e745b3bd4aa7ad9.zip
Make the port work in the absence of X
Submitted by: andrews@technologist.com
Notes
Notes: svn path=/head/; revision=28931
Diffstat (limited to 'databases/unixODBC')
-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>