1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Unbreak on amd64.

- Remove unused dependencies.
- Pass maintainer to perl@.
This commit is contained in:
Jun Kuriyama 2010-01-22 12:48:01 +00:00
parent 10bae222c7
commit 7799bea937
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248358
2 changed files with 27 additions and 10 deletions

View File

@ -7,17 +7,16 @@
PORTNAME= RDFStore
PORTVERSION= 0.51
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl API for RDF Storage
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
@ -45,10 +44,4 @@ pre-configure:
@${ECHO} "LIB=${BDB_LIB_DIR}" >> ${WRKSRC}/arch_conf.in
@${ECHO} "DBNAME=-l${BDB_LIB_NAME}" >> ${WRKSRC}/arch_conf.in
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
BROKEN= does not compile on ${ARCH}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,24 @@
--- Makefile.PL.orig 2006-06-19 19:10:21.000000000 +0900
+++ Makefile.PL 2010-01-22 12:28:28.161357031 +0900
@@ -816,9 +816,6 @@
};
};
-# build client libdbms library first
-`(cd dbms/libdbms; make clean; make)`;
-
WriteMakefile(
#DIR => [ 'RDFNode' ],
@@ -839,6 +836,11 @@
) : ()
);
+# build client libdbms library first
+chomp(my $_CCCDLFLAGS=`make -VCCCDLFLAGS`);
+chomp(my $_CFLAGS=`make -VCFLAGS`);
+print `cd dbms/libdbms; make clean; make CFLAGS="${_CFLAGS} ${_CCCDLFLAGS}"`;
+
sub MY::post_initialize {
print <<EOT;