From d91ead3f6085e9e0ae664a500f166ff12b125e87 Mon Sep 17 00:00:00 2001 From: helge Date: Fri, 20 Aug 2004 23:15:02 +0000 Subject: [PATCH] macosx fixes git-svn-id: http://svn.opengroupware.org/SOPE/trunk@29 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-gdl1/PostgreSQL/GNUmakefile.preamble | 10 ++++++-- sope-gdl1/PostgreSQL/NSString+PGVal.m | 27 +++++++++++++++++++++- sope-gdl1/PostgreSQL/PostgreSQL72Channel.h | 1 - 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/sope-gdl1/PostgreSQL/GNUmakefile.preamble b/sope-gdl1/PostgreSQL/GNUmakefile.preamble index b38a04cf..7202e72a 100644 --- a/sope-gdl1/PostgreSQL/GNUmakefile.preamble +++ b/sope-gdl1/PostgreSQL/GNUmakefile.preamble @@ -47,18 +47,24 @@ ADDITIONAL_INCLUDE_DIRS += \ -I/usr/include/pgsql \ -I/usr/include/postgresql \ -I/usr/include \ - -I/Library/PostgreSQL/include/ ADDITIONAL_LIB_DIRS += \ -L../GDLAccess/$(GNUSTEP_OBJ_DIR)\ -L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR) +ifneq ($(PGSQL),) +ADDITIONAL_LIB_DIRS += -L$(PGSQL)/lib +endif + ADDITIONAL_LIB_DIRS += \ - -L$(PGSQL)/lib \ -L/usr/local/lib \ -L/usr/local/pgsql/lib/ \ -L/usr/lib ifeq ($(FOUNDATION_LIB),apple) + PostgreSQL72_BUNDLE_LIBS += -lssl -lcrypto + +ADDITIONAL_INCLUDE_DIRS += -I/Library/PostgreSQL/include/ + endif diff --git a/sope-gdl1/PostgreSQL/NSString+PGVal.m b/sope-gdl1/PostgreSQL/NSString+PGVal.m index 75978078..fbd0e339 100644 --- a/sope-gdl1/PostgreSQL/NSString+PGVal.m +++ b/sope-gdl1/PostgreSQL/NSString+PGVal.m @@ -1,6 +1,31 @@ -// $Id: NSString+PGVal.m 1 2004-08-20 10:38:46Z znek $ +/* + PostgreSQL72Channel.h + + Copyright (C) 1999 MDlink online service center GmbH and Helge Hess + Copyright (C) 2000-2004 SKYRIX Software AG and Helge Hess + + Author: Helge Hess (helge.hess@opengroupware.org) + + This file is part of the PostgreSQL72 Adaptor Library + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; see the file COPYING.LIB. + If not, write to the Free Software Foundation, + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ #include "PostgreSQL72Channel.h" +#include #include "common.h" @implementation NSString(PostgreSQL72Values) diff --git a/sope-gdl1/PostgreSQL/PostgreSQL72Channel.h b/sope-gdl1/PostgreSQL/PostgreSQL72Channel.h index 06598fbd..a36b9f76 100644 --- a/sope-gdl1/PostgreSQL/PostgreSQL72Channel.h +++ b/sope-gdl1/PostgreSQL/PostgreSQL72Channel.h @@ -23,7 +23,6 @@ If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// $Id: PostgreSQL72Channel.h 1 2004-08-20 10:38:46Z znek $ #ifndef ___PostgreSQL72_Channel_H___ #define ___PostgreSQL72_Channel_H___ -- 2.39.5