aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libiodbc/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-10 15:20:24 +0800
committerijliao <ijliao@FreeBSD.org>2002-10-10 15:20:24 +0800
commit331f8ce9192ecb7a7e098618bde0ece053b25d0c (patch)
treeed4eddd0194794ea67e16803f6fc2aabf7276931 /databases/libiodbc/Makefile
parent1c140e0d1aba7ae1a765a29f13cab9858360a36b (diff)
downloadfreebsd-ports-gnome-331f8ce9192ecb7a7e098618bde0ece053b25d0c.tar.gz
freebsd-ports-gnome-331f8ce9192ecb7a7e098618bde0ece053b25d0c.tar.zst
freebsd-ports-gnome-331f8ce9192ecb7a7e098618bde0ece053b25d0c.zip
- Enable --with-pthreads option.
- Add WITH_GUI support(not default). PR: 36129 Submitted by: Hidekazu Kuroki <hidekazu@pc88.gr.jp> Approved by: maintainer timeout
Diffstat (limited to 'databases/libiodbc/Makefile')
-rw-r--r--databases/libiodbc/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/databases/libiodbc/Makefile b/databases/libiodbc/Makefile
index 5844e028b928..528aec109662 100644
--- a/databases/libiodbc/Makefile
+++ b/databases/libiodbc/Makefile
@@ -10,6 +10,7 @@
PORTNAME= libiodbc
PORTVERSION= 3.0.5
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.iodbc.org/dist/
@@ -17,11 +18,19 @@ MAINTAINER= ebakke@trolltech.com
USE_LIBTOOL= yes
USE_GMAKE= yes
-USE_GNOMENG= yes
-USE_GNOME= gtk12
INSTALLS_SHLIB= yes
INIDIR= ${PREFIX}/etc/${PORTNAME}
-CONFIGURE_ARGS= --with-iodbc-inidir=${INIDIR}
+CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --with-iodbc-inidir=${INIDIR} --with-pthread
+
+.if !defined(WITHOUT_GUI)
+USE_GNOMENG= yes
+USE_GNOME= gtk12
+PLIST_SUB+= GUI=""
+.else
+CONFIGURE_ARGS+= --disable-gui
+PLIST_SUB+= GUI="@comment "
+.endif
post-install:
@ ${MKDIR} ${PREFIX}/bin && ${INSTALL_PROGRAM} \