diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-04-01 19:35:23 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-04-03 02:30:24 -0500 |
commit | e9d704710d86de79785164dd7b75fe7e7f46da55 (patch) | |
tree | ca5e1cff07ea0f23177ec49699224a88a70f8406 /development/racket/racket.SlackBuild | |
parent | 6bfa3272e7eb15710d99061f8f7ece2acf79a87a (diff) |
development/racket: Updated for version 6.4.
Fixes build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 d6986812f88a..e9bb528a374e 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 |