diff options
Diffstat (limited to 'development/racket/racket.SlackBuild')
-rw-r--r-- | development/racket/racket.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/development/racket/racket.SlackBuild b/development/racket/racket.SlackBuild index d6986812f88a6..e9bb528a374e0 100644 --- a/development/racket/racket.SlackBuild +++ b/development/racket/racket.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=racket -VERSION=${VERSION:-6.3} +VERSION=${VERSION:-6.4} SUFFIX=src # suffix of the UNIX sourcepackage BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,10 +70,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# https://github.com/racket/racket/issues/1222 +# http://copr-dist-git.fedorainfracloud.org/cgit/bthomas/racket/racket.git/plain/xform-errors-converting-fix.patch +patch -p1 < $CWD/xform-errors-converting-fix.patch + mkdir src/build cd src/build + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ../configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -81,7 +86,6 @@ cd src/build --datadir=/usr/share/$PRGNAM \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux - make make install DESTDIR=$PKG @@ -91,8 +95,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -cd .. -mkdir $PKG/usr/doc/$PRGNAM-$VERSION/ +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |