ports/77733: [PATCH] databases/p5-sqlrelay: install MAN3 under perl5.00503

Yen-Ming Lee leeym at FreeBSD.org
Sat Feb 19 15:30:13 UTC 2005


>Number:         77733
>Category:       ports
>Synopsis:       [PATCH] databases/p5-sqlrelay: install MAN3 under perl5.00503
>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:   Sat Feb 19 15:30:12 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:
- add pod2man in CONFIGURE_ARGS, and install perl manpages under perl 5.00503

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

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

--- p5-sqlrelay-0.35_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-sqlrelay/Makefile,v
retrieving revision 1.15
diff -u -u -r1.15 Makefile
--- Makefile	16 Feb 2005 09:29:14 -0000	1.15
+++ Makefile	19 Feb 2005 15:19:08 -0000
@@ -26,6 +26,7 @@
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${SQLRELAY_CONFIGURE_ARGS} \
+		--with-pod2man=`which pod2man` \
 		--with-perl-prefix="/usr"
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		${SQLRELAY_CONFIGURE_ENV}
@@ -34,6 +35,7 @@
 MAN3=		DBD::SQLRelay.3 SQLRelay::Connection.3 SQLRelay::Cursor.3
 
 .include "${.CURDIR}/../sqlrelay/Makefile.common"
+.include <bsd.port.pre.mk>
 
 do-extract:
 	${MKDIR} ${WRKDIR}
@@ -41,8 +43,10 @@
 	${RM} -rf ${WRKSRC}/src/api/perl/CVS
 
 post-patch:
+.if ${PERL_LEVEL} >= 500600
 	${REINPLACE_CMD} -e 's/installman3dir/siteman3dir/g' \
 		${WRKSRC}/src/api/perl/*/Makefile
+.endif
 
 do-build:
 	for dir in ${WRKSRC}/src/api/perl/*; do \
@@ -58,8 +62,6 @@
 		${MAKE_ARGS} ${INSTALL_TARGET}; \
 	done
 
-.include <bsd.port.pre.mk>
-
 .if ${ARCH} == "amd64"
 BROKEN=		"Does not build"
 .endif
--- p5-sqlrelay-0.35_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list