diff --git a/databases/pgtcl/Makefile b/databases/pgtcl/Makefile index 74717ee256a..2457bb1d52a 100644 --- a/databases/pgtcl/Makefile +++ b/databases/pgtcl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2008/01/04 17:48:34 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2008/01/24 18:34:01 merdely Exp $ SHARED_ONLY= Yes @@ -6,7 +6,7 @@ COMMENT= Tcl interface to PostgreSQL V= 1.5 DISTNAME= pgtcl$V -PKGNAME= pgtcl-$V +PKGNAME= pgtcl-$Vp0 SHARED_LIBS= pgtcl 0.0 CATEGORIES= databases @@ -35,6 +35,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --with-postgres-lib=${LOCALBASE}/lib MAKE_FLAGS= PKG_LIB_FILE=libpgtcl.so.${LIBpgtcl_VERSION} +NO_REGRESS= Yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pgtcl/html diff --git a/databases/pgtcl/patches/patch-configure b/databases/pgtcl/patches/patch-configure new file mode 100644 index 00000000000..61d7bd83358 --- /dev/null +++ b/databases/pgtcl/patches/patch-configure @@ -0,0 +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