From da5e330731ee17bd1ab4634ec2acea43615faaf5 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Thu, 18 Sep 2008 14:42:53 +0200 Subject: [PATCH] mksample adopted to my situation A new maintainer might want to change it again --- U/mksample | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/U/mksample b/U/mksample index 280b23d..b4b2571 100755 --- a/U/mksample +++ b/U/mksample @@ -4,12 +4,17 @@ # Andy Dougherty July 14, 1998 rm -f config.sh Policy.sh +cat >Policy.sh <<'EOP' +libswanted="cl pthread $libswanted" +EOP + sh ./Configure -Dprefix=/opt/perl \ - -Dcf_by='yourname' \ + -Dcf_by='merijn' \ -Dcf_email='yourname@yourhost.yourplace.com' \ -Dperladmin='yourname@yourhost.yourplace.com' \ -Dmydomain='.yourplace.com' \ -Dmyhostname='yourhost' \ + -Duse64bitint \ -Dusedevel \ -dE test $? = 0 || exit 1 @@ -26,20 +31,19 @@ cat config.h >> Porting/config_H rm config.sh config.h if newer Configure Porting/Glossary; then pwd=`pwd` - cd U - perl mkglossary > $pwd/Porting/Glossary - cd $pwd/Porting - rm -f Glossary.rej - # The standard 'dist' units contain some strings that upset - # pod2man. This patch silences pod2man's warnings. - patch < $pwd/U/Glossary.patch - if test -f Glossary.rej; then - echo 'Check possible failed patch to Porting/Glossary!' - exit 2 + U/mkgloss.pl >Porting/Glossary +# cd Porting +# rm -f Glossary.rej +# # The standard 'dist' units contain some strings that upset +# # pod2man. This patch silences pod2man's warnings. +# patch < $pwd/U/Glossary.patch +# if test -f Glossary.rej; then +# echo 'Check possible failed patch to Porting/Glossary!' +# exit 2 +# fi +# cd $pwd fi - cd $pwd -fi # Remove detritus. -if test -f makeaperl -a -f pod/Makefile; then - rm -f cflags config.h cppstdin makeaperl makedepend makedir Makefile myconfig pod/Makefile Policy.sh writemain x2p/cflags x2p/Makefile Obsolete Wanted -fi +#if test -f makeaperl -a -f pod/Makefile; then +# rm -f cflags config.h cppstdin makeaperl makedepend makedir Makefile myconfig pod/Makefile Policy.sh writemain x2p/cflags x2p/Makefile Obsolete Wanted +# fi -- 1.8.3.1