From tkato@prontomail.com  Tue Sep  9 07:53:05 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4144716A4C3
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue,  9 Sep 2003 07:51:32 -0700 (PDT)
Received: from hfep07.dion.ne.jp (hfep07.dion.ne.jp [203.181.105.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EC9A643FB1
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue,  9 Sep 2003 07:51:30 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.198.217.84]) by hfep07.dion.ne.jp with SMTP
          id <20030909145126981.NXBT@hfep07.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Tue, 9 Sep 2003 23:51:26 +0900
Message-Id: <20030909235021.4313dce2.tkato@prontomail.com>
Date: Tue, 9 Sep 2003 23:50:21 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: textproc/redland to 0.9.14

>Number:         56637
>Category:       ports
>Synopsis:       Update port: textproc/redland to 0.9.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 09 08:00:31 PDT 2003
>Closed-Date:    Wed Sep 24 07:06:12 PDT 2003
>Last-Modified:  Wed Sep 24 07:06:12 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.14

New file:
files/patch-Makefile.in
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/redland/Makefile textproc/redland/Makefile
--- /usr/ports/textproc/redland/Makefile	Tue Sep  2 06:03:10 2003
+++ textproc/redland/Makefile	Tue Sep  9 09:08:55 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	redland
-PORTVERSION=	0.9.13
+PORTVERSION=	0.9.14
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://www.redland.opensource.ac.uk/dist/source/
@@ -17,33 +17,25 @@
 COMMENT=	A high-level interface for RDF
 
 LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2 \
-		raptor.0:${PORTSDIR}/textproc/raptor
+		raptor.1:${PORTSDIR}/textproc/raptor
 
 USE_OPENSSL=	yes
-USE_REINPLACE=	yes
+USE_GETOPT_LONG=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-bdb-lib="${LOCALBASE}/lib" \
 		--with-bdb-include="${LOCALBASE}/include/db2" \
 		--with-bdb-dbname="db2" \
-		--with-libwww
+		--with-libwww \
+		--with-raptor=system
 INSTALLS_SHLIB=	yes
 
-MAN1=		redland-config.1 redland-db-upgrade.1
+MAN1=		rdfproc.1 redland-config.1 redland-db-upgrade.1
 MAN3=		redland.3
 
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|ac_subdirs_all raptor|ac_subdirs_all|g ; \
-		 s|-I\\$$(top_srcdir)/raptor||g ; \
-		 s|\\$$(top_builddir)/raptor/libraptor.la|-lraptor|g' \
-			${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|SUBDIRS = raptor|SUBDIRS =|g ; \
-		 s|$$(top_builddir)/raptor/libraptor.la|-lraptor|g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/redland/distinfo textproc/redland/distinfo
--- /usr/ports/textproc/redland/distinfo	Tue Sep  2 06:03:10 2003
+++ textproc/redland/distinfo	Tue Sep  9 08:43:31 2003
@@ -1 +1 @@
-MD5 (redland-0.9.13.tar.gz) = 090d3da7a8a063c5292243637e4719b9
+MD5 (redland-0.9.14.tar.gz) = 25047248a273138225737e50fa211165
diff -urN /usr/ports/textproc/redland/files/patch-Makefile.in textproc/redland/files/patch-Makefile.in
--- /usr/ports/textproc/redland/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
+++ textproc/redland/files/patch-Makefile.in	Tue Sep  9 08:56:55 2003
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Tue Sep  9 00:06:26 2003
++++ Makefile.in	Tue Sep  9 08:53:42 2003
+@@ -165,7 +165,7 @@
+ man_MANS = redland-config.1
+ 
+ # Subdirectories to build/install etc.
+-SUBDIRS = librdf examples utils demos @SD@
++SUBDIRS = librdf utils demos @SD@
+ CONFIG_SUBDIRS = raptor
+ # Subdirectories to use for distribution
+ DIST_SUBDIRS = librdf docs examples \
diff -urN /usr/ports/textproc/redland/files/patch-configure textproc/redland/files/patch-configure
--- /usr/ports/textproc/redland/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ textproc/redland/files/patch-configure	Tue Sep  9 09:03:56 2003
@@ -0,0 +1,15 @@
+--- configure.orig	Tue Sep  9 00:06:31 2003
++++ configure	Tue Sep  9 09:03:46 2003
+@@ -12735,9 +12735,9 @@
+   CFLAGS="$MAINTAINER_CFLAGS $CFLAGS"
+ fi
+ 
+-LIBS=
+-CPPFLAGS=
+-LDFLAGS=
++LIBS="$LIBS"
++CPPFLAGS="$CPPFLAGS"
++LDFLAGS="$LDFLAGS"
+ 
+ LIBRDF_LIBTOOLLIBS=librdf.la
+ 
diff -urN /usr/ports/textproc/redland/pkg-plist textproc/redland/pkg-plist
--- /usr/ports/textproc/redland/pkg-plist	Tue Sep  2 06:03:10 2003
+++ textproc/redland/pkg-plist	Tue Sep  9 09:08:30 2003
@@ -1,3 +1,4 @@
+bin/rdfproc
 bin/redland-config
 bin/redland-db-upgrade
 include/librdf.h
>Release-Note:
>Audit-Trail:

From: Tom Hukins <tom@FreeBSD.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/56637 Update port: textproc/redland to 0.9.14
Date: Tue, 23 Sep 2003 20:35:05 +0100

 Note, this port update appears to depend on the raptor update in
 ports/56636.
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Wed Sep 24 07:06:02 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56637 
>Unformatted:
