Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 16:32:46 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        demon@FreeBSD.org
Subject:   ports/77548: [PATCH] databases/p5-sqlrelay: fix PLIST
Message-ID:  <20050215083246.B3E823EA141@utopia.leeym.com>
Resent-Message-ID: <200502150840.j1F8eNGj034914@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77548
>Category:       ports
>Synopsis:       [PATCH] databases/p5-sqlrelay: fix PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 15 08:40:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Feb  9 10:20:03 CST
>Description:
- fix PLIST

Port maintainer (demon@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

http://pointyhat.freebsd.org/errorlogs/i386-5-full-logs/p5-sqlrelay-0.35_1.log

>Fix:

--- p5-sqlrelay-0.35_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-sqlrelay/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- Makefile	31 Jan 2005 11:39:15 -0000	1.14
+++ Makefile	15 Feb 2005 08:31:41 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	${SQLRELAY_PORTNAME}
 PORTVERSION=	${SQLRELAY_PORTVERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases perl5
 MASTER_SITES=	# none
 PKGNAMEPREFIX=	p5-
@@ -23,12 +23,16 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_GMAKE=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${SQLRELAY_CONFIGURE_ARGS} \
 		--with-perl-prefix="/usr"
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		${SQLRELAY_CONFIGURE_ENV}
 
+MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3=		DBD::SQLRelay.3 SQLRelay::Connection.3 SQLRelay::Cursor.3
+
 .include "${.CURDIR}/../sqlrelay/Makefile.common"
 
 do-extract:
@@ -36,6 +40,10 @@
 	${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
 	${RM} -rf ${WRKSRC}/src/api/perl/CVS
 
+post-patch:
+	${REINPLACE_CMD} -e 's/installman3dir/siteman3dir/g' \
+		${WRKSRC}/src/api/perl/*/Makefile
+
 do-build:
 	for dir in ${WRKSRC}/src/api/perl/*; do \
 		cd $$dir && \
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/databases/p5-sqlrelay/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist	30 Aug 2004 10:22:03 -0000	1.3
+++ pkg-plist	15 Feb 2005 08:31:41 -0000
@@ -14,3 +14,4 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor/Cursor.so
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/SQLRelay
--- p5-sqlrelay-0.35_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050215083246.B3E823EA141>