aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/gc/gc.SlackBuild8
-rw-r--r--development/gc/gc.info2
-rw-r--r--development/gc/slack-desc6
3 files changed, 11 insertions, 5 deletions
diff --git a/development/gc/gc.SlackBuild b/development/gc/gc.SlackBuild
index b6b85a2b7be74..c39f9b42e85ce 100644
--- a/development/gc/gc.SlackBuild
+++ b/development/gc/gc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gc
-# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-static=no \
--build=$ARCH-slackware-linux
@@ -77,4 +81,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/gc/gc.info b/development/gc/gc.info
index 9352b5391d6f7..7e20038484767 100644
--- a/development/gc/gc.info
+++ b/development/gc/gc.info
@@ -2,7 +2,9 @@ PRGNAM="gc"
VERSION="7.1"
HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
DOWNLOAD="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="2ff9924c7249ef7f736ecfe6f08f3f9b"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="David Somero"
diff --git a/development/gc/slack-desc b/development/gc/slack-desc
index ba2f527ff0db8..c537eb960ab27 100644
--- a/development/gc/slack-desc
+++ b/development/gc/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
gc: gc (Boehm-Demers-Weiser garbage collector)
-gc:
+gc:
gc: The Boehm-Demers-Weiser conservative garbage collector can be used
gc: as a garbage collecting replacement for C malloc or C++ new. It
gc: allows you to allocate memory basically as you normally would,
gc: without explicitly deallocating memory that is no longer useful. The
gc: collector automatically recycles memory when it determines that it
gc: can no longer be otherwise accessed.
-gc:
+gc:
gc: Homepage: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
-gc:
+gc: