ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/App-Staticperl/staticperl.sh
(Generate patch)

Comparing cvsroot/App-Staticperl/staticperl.sh (file contents):
Revision 1.6 by root, Tue Dec 7 10:40:39 2010 UTC vs.
Revision 1.7 by root, Tue Dec 7 13:23:07 2010 UTC

46 46
47# which extra modules you might want to install 47# which extra modules you might want to install
48EXTRA_MODULES="" 48EXTRA_MODULES=""
49 49
50# overridable functions 50# overridable functions
51preconfigure() { : ; }
51postconfigure() { : ; } 52postconfigure() { : ; }
52postbuild() { : ; } 53postbuild() { : ; }
53postinstall() { : ; } 54postinstall() { : ; }
54 55
55# now source user config, if any 56# now source user config, if any
113 114
114############################################################################# 115#############################################################################
115# download/configure/compile/install perl 116# download/configure/compile/install perl
116 117
117clean() { 118clean() {
118 cd "$STATICPERL/src/perl-$PERL_VERSION" 2>/dev/null || return 119 rm -rf "$STATICPERL/src/perl-$PERL_VERSION"
119
120 rm -f staticstamp.configure
121 make distclean >/dev/null 2>&1
122} 120}
123 121
124fetch() { 122fetch() {
125 rcd "$STATICPERL" 123 rcd "$STATICPERL"
126 124
180 rm -f "$PERL_PREFIX/staticstamp.install" 178 rm -f "$PERL_PREFIX/staticstamp.install"
181 179
182 # I hate them 180 # I hate them
183 grep -q -- -fstack-protector Configure && \ 181 grep -q -- -fstack-protector Configure && \
184 sedreplace 's/-fstack-protector/-fno-stack-protector/g' Configure 182 sedreplace 's/-fstack-protector/-fno-stack-protector/g' Configure
183
184 preconfigure
185 185
186# trace configure \ 186# trace configure \
187 sh Configure -Duselargefiles \ 187 sh Configure -Duselargefiles \
188 -Uuse64bitint \ 188 -Uuse64bitint \
189 -Dusemymalloc=n \ 189 -Dusemymalloc=n \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines