freebsd-ports/textproc/p5-RDFStore/files/patch-Makefile.PL
Jun Kuriyama 7799bea937 - Unbreak on amd64.
- Remove unused dependencies.
- Pass maintainer to perl@.
2010-01-22 12:48:01 +00:00

24 lines
572 B
Perl

--- 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;