pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43260: lang/sbcl PLIST error on amd64
>Number: 43260
>Category: pkg
>Synopsis: lang/sbcl PLIST error on amd64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 05 18:35:00 +0000 2010
>Originator: Marko Schuetz Schmuck
>Release: NetBSD/amd64 5.0.2
>Organization:
individual
>Environment:
NetBSD prpad.dyndns.org 5.0.2 NetBSD 5.0.2 (PRPAD) #0: Mon May 3 15:16:09 AST
2010 root%prpad.dyndns.org@localhost:/usr/obj/sys/arch/amd64/compile/PRPAD
amd64
>Description:
On amd64 lang/sbcl installs
lib/sbcl/sb-rotate-byte/x86-64-vm.fasl
instead of
lib/sbcl/sb-rotate-byte/x86-vm.fasl
>How-To-Repeat:
- set PKG_DEVELOPER to yes in /etc/mk.conf
- make package in lang/sbcl
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sbcl/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile 1 May 2010 17:01:20 -0000 1.24
+++ Makefile 5 May 2010 18:18:22 -0000
@@ -68,6 +68,12 @@
SUBST_FILES.fix-gtar= contrib/asdf-install/installer.lisp
SUBST_SED.fix-gtar= -e 's,@GTAR@,${GTAR},'
+.if (${MACHINE_ARCH} == "x86_64")
+PLIST_SUBST+= X86_ARCHITECTURE="-64"
+.else
+PLIST_SUBST+= X86_ARCHITECTURE=""
+.endif
+
do-build:
cd ${WRKSRC} && ${SH} make.sh ${SBCL_BOOT_SYSTEM:Q}
post-build:
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sbcl/PLIST,v
retrieving revision 1.10
diff -u -r1.10 PLIST
--- PLIST 1 May 2010 17:01:20 -0000 1.10
+++ PLIST 5 May 2010 18:18:22 -0000
@@ -202,7 +202,7 @@
lib/sbcl/sb-rotate-byte/sb-rotate-byte.texinfo
lib/sbcl/sb-rotate-byte/test-passed
lib/sbcl/sb-rotate-byte/x86-64-vm.lisp
-lib/sbcl/sb-rotate-byte/x86-vm.fasl
+lib/sbcl/sb-rotate-byte/x86${X86_ARCHITECTURE}-vm.fasl
lib/sbcl/sb-rotate-byte/x86-vm.lisp
lib/sbcl/sb-rt/.cvsignore
lib/sbcl/sb-rt/Makefile
Home |
Main Index |
Thread Index |
Old Index