Disable prototypes.
Disable pod2man.
WriteMakefile(
NAME => 'DB_File',
LIBS => ["-L/usr/local/lib -ldb"],
+ MAN3PODS => ' ', # Pods will be built by installman.
#INC => '-I/usr/local/include',
VERSION => 1.01,
- );
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
use ExtUtils::MakeMaker;
WriteMakefile(
- 'LINKTYPE' => 'static',
- 'DEFINE' => '-DLIBC="$(LIBC)"',
- 'SKIP' => [qw(dynamic dynamic_lib dynamic_bs)],
- 'clean' => {FILES => 'DynaLoader.c'},
+ LINKTYPE => 'static',
+ DEFINE => '-DLIBC="$(LIBC)"',
+ MAN3PODS => ' ', # Pods will be built by installman.
+ SKIP => [qw(dynamic dynamic_lib dynamic_bs)],
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+ clean => {FILES => 'DynaLoader.c'},
);
sub MY::postamble {
'
DynaLoader.c: $(DLSRC)
- $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSUBPPARGS) $(DLSRC) >tmp && mv tmp $@
+ $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(DLSRC) >tmp && mv tmp $@
# Perform very simple tests just to check for major gaffs.
# We can\'t do much more for platforms we are not executing on.
use ExtUtils::MakeMaker;
-WriteMakefile();
+WriteMakefile(
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
+
use ExtUtils::MakeMaker;
-WriteMakefile(LIBS => ["-L/usr/local/lib -lgdbm", "-ldbm"]);
+WriteMakefile(
+ LIBS => ["-L/usr/local/lib -lgdbm", "-ldbm"],
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
use ExtUtils::MakeMaker;
-WriteMakefile(LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"]);
+WriteMakefile(
+ LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"],
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
use ExtUtils::MakeMaker;
-WriteMakefile(LIBS => ["-ldbm -lucb"]);
+WriteMakefile(
+ LIBS => ["-ldbm -lucb"],
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
use ExtUtils::MakeMaker;
-WriteMakefile(LIBS => ["-lm -lposix -lcposix"]);
+WriteMakefile(
+ LIBS => ["-lm -lposix -lcposix"],
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
# which perform the corresponding actions in the subdirectory.
WriteMakefile(
- 'MYEXTLIB' => 'sdbm/libsdbm$(LIB_EXT)',
+ MYEXTLIB => 'sdbm/libsdbm$(LIB_EXT)',
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
);
use ExtUtils::MakeMaker;
-WriteMakefile();
+WriteMakefile(
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);
use ExtUtils::MakeMaker;
-WriteMakefile(VERSION => 1.5);
+WriteMakefile(
+ VERSION => 1.5,
+ MAN3PODS => ' ', # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+);