diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-10-10 07:20:24 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-10-10 07:20:24 +0000 |
commit | 944f5449af94113e8605b03133b7299f966edc9b (patch) | |
tree | 599fc2fec9a64289990a4ae00867b3a6c625a0e6 /databases | |
parent | Make sure that it doesn't attempt to fclose a NULL pointer if ~/.xpilotrc (diff) |
- Enable --with-pthreads option.
- Add WITH_GUI support(not default).
PR: 36129
Submitted by: Hidekazu Kuroki <hidekazu@pc88.gr.jp>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=67728
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libiodbc/Makefile | 15 | ||||
-rw-r--r-- | databases/libiodbc/pkg-plist | 26 |
2 files changed, 25 insertions, 16 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} \ diff --git a/databases/libiodbc/pkg-plist b/databases/libiodbc/pkg-plist index c9d47c6158dc..d69527d2371e 100644 --- a/databases/libiodbc/pkg-plist +++ b/databases/libiodbc/pkg-plist @@ -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 |