Don't use GNU-only grep syntax, spotted by naddy. Fix homepage while there.
Note, this could use an update too, port is years out of date and the distfile is no longer available upstream.
This commit is contained in:
parent
f88f2dcea4
commit
300cfb7e14
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2010/11/15 00:22:51 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2011/07/11 21:10:33 sthen Exp $
|
||||
|
||||
COMMENT= C++ client API for PostgreSQL
|
||||
|
||||
DISTNAME= libpqxx-2.5.3
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= databases
|
||||
SHARED_LIBS += pqxx 1.0 # .0.0
|
||||
|
||||
HOMEPAGE= http://gborg.postgresql.org/project/libpqxx/
|
||||
HOMEPAGE= http://pqxx.org/development/libpqxx/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -17,8 +17,8 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += pq>=4
|
||||
|
||||
MASTER_SITES= http://gborg.postgresql.org/download/libpqxx/stable/ \
|
||||
ftp://gborg.postgresql.org/pub/libpqxx/stable/
|
||||
MASTER_SITES= http://pqxx.org/download/software/libpqxx/ \
|
||||
ftp://pqxx.org/software/libpqxx/
|
||||
|
||||
LIB_DEPENDS= databases/postgresql
|
||||
|
||||
|
12
databases/libpqxx/patches/patch-configure
Normal file
12
databases/libpqxx/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2011/07/11 21:10:33 sthen Exp $
|
||||
--- configure.orig Mon Jul 11 21:48:55 2011
|
||||
+++ configure Mon Jul 11 21:48:56 2011
|
||||
@@ -24681,7 +24681,7 @@ for publication in $PUBLICATIONS ; do
|
||||
for factor in $FACTORS ; do
|
||||
CONFIGFILE="include/pqxx/config-$publication-$factor.h"
|
||||
echo -n "Generating $CONFIGFILE: "
|
||||
- if ! grep -w -h -F "`grep \"\<${publication}\>\" \"${srcdir}/configitems\" | grep \"\<${factor}\>\" | grep -v '^$' | cut -f 1`" include/pqxx/config.h >"$CONFIGFILE" ; then
|
||||
+ if ! grep -w -h -F "`grep -w ${publication} \"${srcdir}/configitems\" | grep -w ${factor} | grep -v '^$' | cut -f 1`" include/pqxx/config.h >"$CONFIGFILE" ; then
|
||||
rm -f -- "$CONFIGFILE"
|
||||
echo "no items--deleting"
|
||||
else
|
Loading…
Reference in New Issue
Block a user