From 2d610cd8b416a6a6c1a8e2fa2e745b3bd4aa7ad9 Mon Sep 17 00:00:00 2001 From: Nick Sayer Date: Mon, 29 May 2000 16:42:04 +0000 Subject: Make the port work in the absence of X Submitted by: andrews@technologist.com --- databases/unixODBC/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'databases') 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 -- cgit v1.2.3