Don't hardcode "-O". Fixes build on alpha.

Add NO_REGRESS=Yes (there's no working test)

ok Valery Masiutsin (MAINTAINER) and naddy@
This commit is contained in:
merdely 2008-01-24 18:34:01 +00:00
parent 047e56855a
commit cb86495fb3
2 changed files with 24 additions and 2 deletions

View File

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

View File

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