pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33578: ap-python doesn't really build on amd64 (with fix)
>Number: 33578
>Category: pkg
>Synopsis: ap-python doesn't really build on amd64 (with fix)
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 28 21:15:00 +0000 2006
>Originator: Tonnerre Lombard
>Release: NetBSD-3_STABLE
>Organization:
Foundation for a Free Information Infrastructure
>Environment:
System: NetBSD vic.ffii.org 3.0_STABLE NetBSD 3.0_STABLE (VIC) #2: Sun May 28 14
:30:09 UTC 2006 root@vic:/usr/obj/sys/arch/amd64/compile/VIC amd64
Architecture: x86_64
Machine: amd64
>Description:
On amd64, one needs to compile objects for libraries with -fPIC, for the
obvious reason. This isn't known to the Python people yet though, it
seems.
>How-To-Repeat:
% cd /usr/pkgsrc/www/ap-python && make install
>Fix:
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/www/ap-python/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patches/patch-aa 20 Jul 2004 21:22:24 -0000 1.2
+++ patches/patch-aa 28 May 2006 21:01:16 -0000
@@ -7,7 +7,8 @@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@
-OPT=
+-CFLAGS=$(OPT) $(INCLUDES)
+OPT=-DEAPI
- CFLAGS=$(OPT) $(INCLUDES)
++CFLAGS=$(OPT) $(INCLUDES) -fPIC
srcdir=.
Home |
Main Index |
Thread Index |
Old Index