Update to 1.7. Use Tcl/Tk 8.5.

ok landry@, Valery Masiutsin (maintainer)
This commit is contained in:
stu 2012-07-04 19:23:46 +00:00
parent 203d2f21e4
commit f5c9c22da7
5 changed files with 47 additions and 67 deletions

View File

@ -1,14 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2011/09/16 08:48:03 espie Exp $
# $OpenBSD: Makefile,v 1.9 2012/07/04 19:23:46 stu Exp $
SHARED_ONLY= Yes
COMMENT= Tcl interface to PostgreSQL
V= 1.5
DISTNAME= pgtcl$V
PKGNAME= pgtcl-$V
REVISION = 3
SHARED_LIBS= pgtcl 0.0
DISTNAME= pgtcl-1.7
SHARED_LIBS= pgtcl17 0.0
CATEGORIES= databases
HOMEPAGE= http://pgfoundry.org/projects/pgtcl/
@ -21,25 +18,30 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://pgfoundry.org/frs/download.php/338/
MASTER_SITES= http://pgfoundry.org/frs/download.php/2151/
MODULES= lang/tcl
MODTCL_VERSION= 8.4
LIB_DEPENDS= databases/postgresql
RUN_DEPENDS= ${MODTCL_RUN_DEPENDS}
BUILD_DEPENDS= ${RUN_DEPENDS}
WANTLIB += pq>=5
BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS}
WANTLIB += pq>=5 ${MODTCL_WANTLIB}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-tcl=${MODTCL_LIBDIR} \
--with-tclinclude=${MODTCL_INCDIR} \
--libdir=${MODTCL_TCLDIR} \
--with-postgres-include=${LOCALBASE}/include/postgresql \
--with-postgres-lib=${LOCALBASE}/lib
--with-postgres-lib=${LOCALBASE}/lib \
--disable-threads \
SHLIB_VERSION=${LIBpgtcl17_VERSION}
MAKE_FLAGS= PKG_LIB_FILE=libpgtcl.so.${LIBpgtcl_VERSION}
FAKE_FLAGS= PKG_DIR=pgtcl INSTALL_LIBRARY='${INSTALL_DATA}' PKG_HEADERS=
NO_REGRESS= Yes
WRKDIST = ${WRKDIR}/lib${DISTNAME}
ALL_TARGET = binaries libraries
INSTALL_TARGET =install-binaries install-libraries
SEPARATE_BUILD =Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pgtcl/html

View File

@ -1,5 +1,5 @@
MD5 (pgtcl1.5.tar.gz) = bu0cM4/Du3qER5fJK3m5Ng==
RMD160 (pgtcl1.5.tar.gz) = 8ZgGbFOKlWb5BE6ImUI+4x4SM0k=
SHA1 (pgtcl1.5.tar.gz) = jSvlN8EjEAq08abdwRaE/U4MzSM=
SHA256 (pgtcl1.5.tar.gz) = uu3doB9SED9X4mXrse1ZROiA74F3aQOJefatzOMzhaI=
SIZE (pgtcl1.5.tar.gz) = 486901
MD5 (pgtcl-1.7.tar.gz) = 5x7YhtXeX19FW8AhNklESA==
RMD160 (pgtcl-1.7.tar.gz) = PAbAw0tH2XJBkxVHiGBmxhSv6TE=
SHA1 (pgtcl-1.7.tar.gz) = WN7R792/EW+8XlFobgugRCk+Y5Q=
SHA256 (pgtcl-1.7.tar.gz) = COmhSWGxs9mFgpq+VvMHpoOAFzvSEnHMwWtfEu2wsuw=
SIZE (pgtcl-1.7.tar.gz) = 497868

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $
--- Makefile.in.orig Mon Jun 13 23:02:03 2005
+++ Makefile.in Sun Sep 16 22:33:09 2007
@@ -167,7 +167,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(
# for the BINARIES that you specified above have already been done.
#========================================================================
-all: binaries libraries doc
+all: binaries libraries
#========================================================================
# The binaries target builds executable programs, Windows .dll's, unix
@@ -186,7 +186,7 @@ doc:
@echo " xml2nroff sample.xml > sample.n"
@echo " xml2html sample.xml > sample.html"
-install: all install-binaries install-libraries install-doc
+install: all install-binaries install-libraries
install-binaries: binaries install-lib-binaries install-bin-binaries

View File

@ -1,21 +1,21 @@
$OpenBSD: patch-configure,v 1.1 2008/01/24 18:34:01 merdely Exp $
--- configure.orig Wed Jan 23 21:20:30 2008
+++ configure Wed Jan 23 21:21:08 2008
@@ -7376,7 +7376,7 @@ fi
ECHO_VERSION='`echo ${PACKAGE_VERSION}`'
TCL_LIB_VERSIONS_OK=ok
CFLAGS_DEBUG=-g
- CFLAGS_OPTIMIZE=-O
+ #CFLAGS_OPTIMIZE=-O
if test "$GCC" = "yes" ; then
CFLAGS_WARNING="-Wall -Wno-implicit-int"
else
@@ -10091,7 +10091,7 @@ fi
ECHO_VERSION='`echo ${PACKAGE_VERSION}`'
TCL_LIB_VERSIONS_OK=ok
CFLAGS_DEBUG=-g
- CFLAGS_OPTIMIZE=-O
+ #CFLAGS_OPTIMIZE=-O
if test "$GCC" = "yes" ; then
CFLAGS_WARNING="-Wall -Wno-implicit-int"
else
$OpenBSD: patch-configure,v 1.2 2012/07/04 19:23:46 stu Exp $
--- configure.orig Mon Apr 30 20:54:06 2012
+++ configure Mon Apr 30 20:59:24 2012
@@ -7826,7 +7826,7 @@ fi
# TEA specific:
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wno-implicit-int"
+ CFLAGS_WARNING="-Wall"
else
CFLAGS_WARNING=""
@@ -9006,7 +9006,7 @@ fi
fi
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
{ echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
if test "${tcl_cv_ld_elf+set}" = set; then

View File

@ -1,9 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $
include/libpgtcl.h
lib/pgtcl1.5/
@lib lib/pgtcl1.5/libpgtcl.so.${LIBpgtcl_VERSION}
lib/pgtcl1.5/pgtcl.tcl
lib/pgtcl1.5/pkgIndex.tcl
@comment $OpenBSD: PLIST,v 1.2 2012/07/04 19:23:46 stu Exp $
lib/tcl/pgtcl/
@lib lib/tcl/pgtcl/libpgtcl17.so.${LIBpgtcl17_VERSION}
lib/tcl/pgtcl/pgtcl.tcl
lib/tcl/pgtcl/pkgIndex.tcl
share/doc/pgtcl/
share/doc/pgtcl/html/
share/doc/pgtcl/html/index.html
@ -12,6 +11,7 @@ share/doc/pgtcl/html/libpgtcl-ref.html
share/doc/pgtcl/html/libpgtcl.html
share/doc/pgtcl/html/pgtcl-commandhandles.html
share/doc/pgtcl/html/pgtcl-examplesect.html
share/doc/pgtcl/html/pgtcl-nullvaluestring.html
share/doc/pgtcl/html/pgtcl-pgblocking.html
share/doc/pgtcl/html/pgtcl-pgcancelrequest.html
share/doc/pgtcl/html/pgtcl-pgconndefaults.html
@ -38,7 +38,6 @@ share/doc/pgtcl/html/pgtcl-pglounlink.html
share/doc/pgtcl/html/pgtcl-pglowrite.html
share/doc/pgtcl/html/pgtcl-pgon-connection-loss.html
share/doc/pgtcl/html/pgtcl-pgresult.html
share/doc/pgtcl/html/pgtcl-pgresults.html
share/doc/pgtcl/html/pgtcl-pgselect.html
share/doc/pgtcl/html/pgtcl-pgsendquery.html
share/doc/pgtcl/html/pgtcl-pgsendqueryprepared.html