mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- add pod2man in CONFIGURE_ARGS, and install perl manpages under perl 5.00503
Noticed by: kris Approved by: demon
This commit is contained in:
parent
9e7fa83376
commit
1b37aa0803
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129482
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue