summaryrefslogtreecommitdiff
path: root/dev-perl/SGMLSpm/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/SGMLSpm/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/SGMLSpm/files')
-rw-r--r--dev-perl/SGMLSpm/files/Makefile.PL17
-rw-r--r--dev-perl/SGMLSpm/files/sgmlspl.patch11
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-perl/SGMLSpm/files/Makefile.PL b/dev-perl/SGMLSpm/files/Makefile.PL
new file mode 100644
index 000000000000..a2508c0a9afb
--- /dev/null
+++ b/dev-perl/SGMLSpm/files/Makefile.PL
@@ -0,0 +1,17 @@
+use ExtUtils::MakeMaker;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+ 'NAME' => 'SGMLS',
+ 'VERSION' => '1.03ii',
+ 'PM' => { 'SGMLS.pm' => '$(INST_LIBDIR)/SGMLS.pm',
+ 'Output.pm' => '$(INST_LIBDIR)/SGMLS/Output.pm',
+ 'Refs.pm' => '$(INST_LIBDIR)/SGMLS/Refs.pm',
+ 'skel.pl' => '$(INST_LIBDIR)/sgmlspl-specs/skel.pl',
+ },
+ 'MAN3PODS'=> { 'SGMLS.pm' => '$(INST_MAN3DIR)/SGMLS.3pm',
+ 'Output.pm' => '$(INST_MAN3DIR)/SGMLS::Output.3pm',
+ 'Refs.pm' => '$(INST_MAN3DIR)/SGMLS::Refs.3pm',
+ },
+ 'EXE_FILES' => [ 'sgmlspl', ],
+);
diff --git a/dev-perl/SGMLSpm/files/sgmlspl.patch b/dev-perl/SGMLSpm/files/sgmlspl.patch
new file mode 100644
index 000000000000..946ce319a97d
--- /dev/null
+++ b/dev-perl/SGMLSpm/files/sgmlspl.patch
@@ -0,0 +1,11 @@
+--- SGMLSpm/sgmlspl.pl.old 2008-08-23 17:06:13.000000000 +0200
++++ SGMLSpm/sgmlspl.pl 2008-08-23 17:07:13.000000000 +0200
+@@ -238,7 +238,7 @@
+ package main;
+
+ $ARGV = shift;
+-unless ($ARGV eq '' || do $ARGV) {
++unless ($ARGV eq '' || do 'sgmlspl-specs/' . $ARGV || do $ARGV) {
+ if (!-e $ARGV) {
+ die "FATAL: $ARGV does not exist.\n";
+ } elsif (!-r $ARGV) {