summaryrefslogtreecommitdiff
path: root/databases/p5-sqlrelay
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-02-21 14:15:59 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-02-21 14:15:59 +0000
commit1b37aa08036be8f8abf15d80e7ee9169e28e39d8 (patch)
treed815eb914e6218a0004324e7fc3fbe772a356c9a /databases/p5-sqlrelay
parent- Update to 0.14.3 (diff)
- add pod2man in CONFIGURE_ARGS, and install perl manpages under perl 5.00503
Noticed by: kris Approved by: demon
Notes
Notes: svn path=/head/; revision=129482
Diffstat (limited to 'databases/p5-sqlrelay')
-rw-r--r--databases/p5-sqlrelay/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/p5-sqlrelay/Makefile b/databases/p5-sqlrelay/Makefile
index 0800131d4a5a..bd6241e9d9bb 100644
--- a/databases/p5-sqlrelay/Makefile
+++ b/databases/p5-sqlrelay/Makefile
@@ -26,6 +26,7 @@ USE_GMAKE= yes
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 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
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 @@ do-extract:
${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 @@ do-install:
${MAKE_ARGS} ${INSTALL_TARGET}; \
done
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "amd64"
BROKEN= "Does not build"
.endif