- update to 1.8.78

- new HOMEPAGE/MASTER_SITES
- do not require USE_GROFF
- fix patches to use ${LOCALBASE} instead of hardcoding /usr/local

ok ajacoutot@
This commit is contained in:
okan 2012-05-08 13:04:48 +00:00
parent 030e3f858e
commit e9debc04d7
5 changed files with 46 additions and 49 deletions

View File

@ -1,14 +1,12 @@
# $OpenBSD: Makefile,v 1.20 2010/11/15 00:22:53 espie Exp $
# $OpenBSD: Makefile,v 1.21 2012/05/08 13:04:48 okan Exp $
COMMENT= high performance embedded database library
DISTNAME= qdbm-1.8.77
PKGNAME= ${DISTNAME}
REVISION = 0
DISTNAME= qdbm-1.8.78
CATEGORIES= databases
SHARED_LIBS= qdbm 14.13
SHARED_LIBS= qdbm 14.14
HOMEPAGE= http://qdbm.sourceforge.net/
HOMEPAGE= http://fallabs.com/qdbm/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
@ -16,17 +14,18 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qdbm/}
MASTER_SITES= ${HOMEPAGE}/
WANTLIB= c z
MODULES= converters/libiconv
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-zlib \
--enable-iconv
USE_GROFF = Yes
CONFIGURE_ARGS= --enable-zlib \
--enable-iconv ${CONFIGURE_SHARED}
MAKE_FLAGS= LIBVER=${LIBqdbm_VERSION:R} LIBREV=${LIBqdbm_VERSION:E}
MAKE_FLAGS= LIBVER=${LIBqdbm_VERSION:R} LIBREV=${LIBqdbm_VERSION:E}
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile.in
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (qdbm-1.8.77.tar.gz) = CE4Hgk4jGWk1bsfO+sl5hQ==
RMD160 (qdbm-1.8.77.tar.gz) = PGhKQScgT68yRy0p1/1koH45QzI=
SHA1 (qdbm-1.8.77.tar.gz) = 4nfne8AgnMTI6yBakILviABIRFw=
SHA256 (qdbm-1.8.77.tar.gz) = 5BOleygGH2XG4m++xYTw0cnAbzFC7lE/7EBh9lUzx3I=
SIZE (qdbm-1.8.77.tar.gz) = 948271
MD5 (qdbm-1.8.78.tar.gz) = ZrO9aaZRMWuNatwvIc8yJQ==
RMD160 (qdbm-1.8.78.tar.gz) = hMgS6qDd3oIt03UV3mcocJi9Oks=
SHA1 (qdbm-1.8.78.tar.gz) = jCq5OMLa2AZ8KbCqk+/GOJ8OcHY=
SHA256 (qdbm-1.8.78.tar.gz) = tGb+cw11Hkv8WQDR83sPuVXygmrEVucAEnheASzctz4=
SIZE (qdbm-1.8.78.tar.gz) = 1015429

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Makefile_in,v 1.10 2007/12/19 21:27:48 bernd Exp $
$OpenBSD: patch-Makefile_in,v 1.11 2012/05/08 13:04:48 okan Exp $
--- Makefile.in.orig Wed Mar 7 03:41:10 2007
+++ Makefile.in Wed Dec 19 21:39:40 2007
@@ -24,7 +24,7 @@ LIBREV = @LIBREV@
@ -25,7 +25,7 @@ $OpenBSD: patch-Makefile_in,v 1.10 2007/12/19 21:27:48 bernd Exp $
- -I$(HOME)/include -I/usr/local/include @MYDEFS@ \
+#CC = @CC@
+CPPFLAGS += @CPPFLAGS@ -I$(srcdir) \
+ -I/usr/local/include @MYDEFS@ \
+ -I${LOCALBASE}/include @MYDEFS@ \
-D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
-D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \
-DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 -DNDEBUG
@ -36,14 +36,14 @@ $OpenBSD: patch-Makefile_in,v 1.10 2007/12/19 21:27:48 bernd Exp $
-LIBLDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @LIBS@
-LDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib $(LIBS)
-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
+LIBLDFLAGS = @LDFLAGS@ -L. -L/usr/local/lib @LIBS@
+LDFLAGS = @LDFLAGS@ -L. -L/usr/local/lib $(LIBS)
+LDENV = LD_RUN_PATH=/lib:/usr/lib:/usr/local/lib
+LIBLDFLAGS = @LDFLAGS@ -L. -L${LOCALBASE}/lib @LIBS@
+LDFLAGS = @LDFLAGS@ -L. -L${LOCALBASE}/lib $(LIBS)
+LDENV = LD_RUN_PATH=/lib:/usr/lib:${LOCALBASE}/lib
AR = @AR@
-ARFLAGS = rcsv
-RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
+ARFLAGS = rcv
+RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:/usr/local/lib
+RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:${LOCALBASE}/lib

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.2 2007/04/13 13:10:37 bernd Exp $
--- configure.orig Mon Mar 5 07:58:55 2007
+++ configure Sat Apr 7 11:59:22 2007
@@ -2405,7 +2405,7 @@ then
$OpenBSD: patch-configure,v 1.3 2012/05/08 13:04:48 okan Exp $
--- configure.orig Wed Aug 4 11:15:20 2010
+++ configure Wed Apr 25 13:16:33 2012
@@ -2774,7 +2774,7 @@ then
fi
if uname | egrep -i 'BSD' > /dev/null 2>&1
then

View File

@ -1,24 +1,24 @@
@comment $OpenBSD: PLIST,v 1.3 2006/09/23 13:44:35 bernd Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/05/08 13:04:48 okan Exp $
%%SHARED%%
bin/cbcodec
bin/cbtest
bin/crmgr
bin/crtest
bin/crtsv
bin/dpmgr
bin/dptest
bin/dptsv
bin/hvmgr
bin/hvtest
bin/odidx
bin/odmgr
bin/odtest
bin/qmttest
bin/rlmgr
bin/rltest
bin/vlmgr
bin/vltest
bin/vltsv
@bin bin/cbcodec
@bin bin/cbtest
@bin bin/crmgr
@bin bin/crtest
@bin bin/crtsv
@bin bin/dpmgr
@bin bin/dptest
@bin bin/dptsv
@bin bin/hvmgr
@bin bin/hvtest
@bin bin/odidx
@bin bin/odmgr
@bin bin/odtest
@bin bin/qmttest
@bin bin/rlmgr
@bin bin/rltest
@bin bin/vlmgr
@bin bin/vltest
@bin bin/vltsv
include/cabin.h
include/curia.h
include/depot.h
@ -67,5 +67,3 @@ share/doc/qdbm/COPYING
share/doc/qdbm/ChangeLog
share/doc/qdbm/NEWS
share/doc/qdbm/THANKS
share/doc/qdbm/spex-ja.html
share/doc/qdbm/spex.html