aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-05-19 21:25:46 +0800
committerskv <skv@FreeBSD.org>2003-05-19 21:25:46 +0800
commit06c15706066083b3045356d5c341d2a44c01a111 (patch)
treedeee5b4377ff129ef7c1abf604f0eacc95525bcb
parent838b2be10bad9bb36cb6cd8f9c87ffc5744dc510 (diff)
downloadfreebsd-ports-gnome-06c15706066083b3045356d5c341d2a44c01a111.tar.gz
freebsd-ports-gnome-06c15706066083b3045356d5c341d2a44c01a111.tar.zst
freebsd-ports-gnome-06c15706066083b3045356d5c341d2a44c01a111.zip
add missing dependency on XML/LibXML.pm
PR: ports/51842
-rw-r--r--textproc/p5-XML-DBMS/Makefile12
-rw-r--r--textproc/p5-XML-DBMS/pkg-plist10
2 files changed, 10 insertions, 12 deletions
diff --git a/textproc/p5-XML-DBMS/Makefile b/textproc/p5-XML-DBMS/Makefile
index 564c3fd7e862..5c1a474f44c4 100644
--- a/textproc/p5-XML-DBMS/Makefile
+++ b/textproc/p5-XML-DBMS/Makefile
@@ -16,20 +16,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= skv@FreeBSD.org
COMMENT= Perl port of Java package XML-DBMS v1.0
-BROKEN= "Does not compile"
-
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Parser/PerlSAX.pm:${PORTSDIR}/textproc/p5-libxml \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+BUILD_DEPENDS= ${SITE_PERL}/XML/Parser/PerlSAX.pm:${PORTSDIR}/textproc/p5-libxml \
+ ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
-PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
WRKSRC= ${WRKDIR}/${PORTNAME}
PERL_CONFIGURE= yes
post-extract:
@${FIND} ${WRKSRC} -type f | \
- xargs ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
+ ${XARGS} ${PERL} -pi -e 's/\x0D(?=\x0A)//g'
post-install:
.ifndef(NOPORTDOCS)
diff --git a/textproc/p5-XML-DBMS/pkg-plist b/textproc/p5-XML-DBMS/pkg-plist
index ec14ed1add84..7211b99d2c91 100644
--- a/textproc/p5-XML-DBMS/pkg-plist
+++ b/textproc/p5-XML-DBMS/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/XML/XMLtoDBMS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS/.packlist
+%%SITE_PERL%%/XML/XMLtoDBMS.pm
%%PORTDOCS%%%%EXAMPLESDIR%%/sales.map
%%PORTDOCS%%%%EXAMPLESDIR%%/sales.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/sales.sql
@@ -7,6 +7,6 @@ lib/perl5/site_perl/%%PERL_VER%%/XML/XMLtoDBMS.pm
%%PORTDOCS%%%%EXAMPLESDIR%%/sales1.map
%%PORTDOCS%%%%EXAMPLESDIR%%/sales2.map
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XMLtoDBMS
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true