- Enable --with-pthreads option.

- Add WITH_GUI support(not default).

PR:		36129
Submitted by:	Hidekazu Kuroki <hidekazu@pc88.gr.jp>
Approved by:	maintainer timeout
This commit is contained in:
Ying-Chieh Liao 2002-10-10 07:20:24 +00:00
parent 92216110e4
commit 944f5449af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67728
2 changed files with 25 additions and 16 deletions

View file

@ -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} \

View file

@ -5,7 +5,7 @@
%%PORTDOCS%%share/doc/libiodbc/README
bin/iodbc-config
bin/iodbc-odbctest
bin/iodbcadm-gtk
%%GUI%%bin/iodbcadm-gtk
etc/libiodbc/odbc.ini.sample
etc/libiodbc/odbcinst.ini.sample
include/iodbcinst.h
@ -15,22 +15,22 @@ include/isqltypes.h
include/sql.h
include/sqlext.h
include/sqltypes.h
lib/libdrvproxy-gtk.a
lib/libdrvproxy-gtk.la
lib/libdrvproxy.a
lib/libdrvproxy.la
lib/libdrvproxy.so
lib/libdrvproxy.so.3
%%GUI%%lib/libdrvproxy-gtk.a
%%GUI%%lib/libdrvproxy-gtk.la
%%GUI%%lib/libdrvproxy.a
%%GUI%%lib/libdrvproxy.la
%%GUI%%lib/libdrvproxy.so
%%GUI%%lib/libdrvproxy.so.3
lib/libiodbc.a
lib/libiodbc.la
lib/libiodbc.so
lib/libiodbc.so.3
lib/libiodbcadm-gtk.a
lib/libiodbcadm-gtk.la
lib/libiodbcadm.a
lib/libiodbcadm.la
lib/libiodbcadm.so
lib/libiodbcadm.so.3
%%GUI%%lib/libiodbcadm-gtk.a
%%GUI%%lib/libiodbcadm-gtk.la
%%GUI%%lib/libiodbcadm.a
%%GUI%%lib/libiodbcadm.la
%%GUI%%lib/libiodbcadm.so
%%GUI%%lib/libiodbcadm.so.3
lib/libiodbcinst.a
lib/libiodbcinst.la
lib/libiodbcinst.so