diff options
Diffstat (limited to 'misc/simh-classic/simh-classic.SlackBuild')
-rw-r--r-- | misc/simh-classic/simh-classic.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/simh-classic/simh-classic.SlackBuild b/misc/simh-classic/simh-classic.SlackBuild index 8e89ca4fb0b24..404b3bb35e375 100644 --- a/misc/simh-classic/simh-classic.SlackBuild +++ b/misc/simh-classic/simh-classic.SlackBuild @@ -86,8 +86,8 @@ else fi # Patch the sources in order for uc15 to compile... -patch PDP11/pdp11_defs.h $CWD/pdp11_defs.h.patch - +# gzipped to preserve CRLF line endings +zcat $CWD/pdp11_defs.h.patch.gz | patch PDP11/pdp11_defs.h chown -R root:root . find -L . \ @@ -99,7 +99,7 @@ find -L . \ chmod 0755 . # make the simulators -make all +make -j1 all mkdir -p $PKG/slackbuild/opt/$PRGNAM/bin mv BIN/* $PKG/slackbuild/opt/$PRGNAM/bin @@ -115,7 +115,7 @@ cp -a \ doc/* \ $PKG/slackbuild/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/slackbuild/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cp $CWD/pdp11_defs.h.patch $PKG/slackbuild/usr/doc/$PRGNAM-$VERSION/pdp11_defs.h.patch +cat $CWD/pdp11_defs.h.patch.gz > $PKG/slackbuild/usr/doc/$PRGNAM-$VERSION/pdp11_defs.h.patch.gz mkdir -p $PKG/slackbuild/opt/$PRGNAM/doc/$PRGNAM-$VERSION cp -a doc/* $PKG/slackbuild/opt/$PRGNAM/doc/ |