Fix breakages that prevended -DPERL_POISON from compiling.
[p5sagit/p5-mst-13.2.git] / ext / NDBM_File / Makefile.PL
index c765dd5..7b58601 100644 (file)
@@ -1,6 +1,9 @@
 use ExtUtils::MakeMaker;
 WriteMakefile(
+    NAME       => 'NDBM_File',
     LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"],
-    MAN3PODS   => ' ',         # Pods will be built by installman.
+    MAN3PODS   => {},  # Pods will be built by installman.
     XSPROTOARG => '-noprototypes',             # XXX remove later?
+    VERSION_FROM => 'NDBM_File.pm',
+    INC => ($^O eq "MacOS" ? "-i ::::db:include" : "")
 );