1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Fix build with the latest version of SQLRelay.

This commit is contained in:
Dmitry Sivachenko 2004-08-30 10:22:03 +00:00
parent 191abc148e
commit bce40bf957
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117656
2 changed files with 15 additions and 20 deletions

View File

@ -7,7 +7,6 @@
PORTNAME= ${SQLRELAY_PORTNAME}
PORTVERSION= ${SQLRELAY_PORTVERSION}
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= # none
PKGNAMEPREFIX= p5-
@ -22,16 +21,13 @@ LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
USE_PERL5= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= Makefile.master
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--with-perl-prefix="/usr"
MAN3= DBD::SQLRelay.3 \
Firstworks::SQLRConnection.3 \
Firstworks::SQLRCursor.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREADINCLUDES="${PTHREAD_CFLAGS}" \
PTHREADLIBS="${PTHREAD_LIBS}"
.include "${.CURDIR}/../sqlrelay/Makefile.common"
@ -53,7 +49,7 @@ do-build:
do-install:
for dir in ${WRKSRC}/src/api/perl/*; do \
cd $$dir && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} ${INSTALL_TARGET}; \
done

View File

@ -3,15 +3,14 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLRelay/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLRelay
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
%%SITE_PERL%%/%%PERL_ARCH%%/Firstworks/SQLRConnection.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection
%%SITE_PERL%%/%%PERL_ARCH%%/Firstworks/SQLRCursor.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Firstworks 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Firstworks 2>/dev/null || true
%%SITE_PERL%%/%%PERL_ARCH%%/SQLRelay/Connection.pm
%%SITE_PERL%%/%%PERL_ARCH%%/SQLRelay/Cursor.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Connection/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Connection/Connection.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Connection/Connection.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Connection
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor/Cursor.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor/Cursor.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay