Date: Friday, May 10, 2013 @ 14:12:31
  Author: juergen
Revision: 185025

fix invalid prefix (/usr/local)

Modified:
  sbcl/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-05-10 11:03:40 UTC (rev 185024)
+++ PKGBUILD    2013-05-10 12:12:31 UTC (rev 185025)
@@ -42,7 +42,7 @@
 
   cd "$srcdir/$pkgname-$pkgver"
 
-  export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer 
-DSBCL_HOME=\\\"/usr/lib/sbcl\\\""
+  export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer 
-DSBCL_HOME=/usr/lib/sbcl"
   export GNUMAKE="make"
 
   # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS
@@ -59,15 +59,15 @@
   (disable :largefile)))
 EOF
 
-  sh make.sh sbcl
+  sh make.sh sbcl --prefix=/usr
   make -C doc/manual info
 }
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  SBCL_HOME=""                  # cannot have both SBCL_HOME and INSTALL_ROOT
-  INSTALL_ROOT="$pkgdir/usr" sh install.sh
+  # cannot have both SBCL_HOME and INSTALL_ROOT
+  SBCL_HOME="" INSTALL_ROOT="$pkgdir/usr" sh install.sh
 
   src/runtime/sbcl --core output/sbcl.core --script "${srcdir}/arch-fixes.lisp"
   mv sbcl-new.core "${pkgdir}/usr/lib/sbcl/sbcl.core"

Reply via email to