Subject: Re: pkg/31027
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>
List: pkgsrc-bugs
Date: 08/31/2005 02:00:11
The following reply was made to PR pkg/31027; it has been noted by GNATS.
From: "KISHIMOTO, Makoto" <ksmakoto@dd.iij4u.or.jp>
To: gnats-bugs@NetBSD.org
Cc: toni@cam.csfi.net
Subject: Re: pkg/31027
Date: Wed, 31 Aug 2005 10:31:37 +0900
hello,
The problem in PR pkg/31027 is caused by incorrect quote in the python
"configure" script. (In my case, system is Linux, and library is
py-readline).
The quotation which contains environment variable expansion, must
be by doublequote, not singlequote. I've modify "patch-al" patch in
python24 patches, and update python, then I can build library.
$ diff /usr/pkgsrc/lang/python24/patches/patch-al.orig /usr/pkgsrc/lang/python24/patches/patch-al
81c81
< + Linux*|GNU*) LDSHARED='$(CC) -shared ${LDFLAGS}';;
---
> + Linux*|GNU*) LDSHARED='$(CC) -shared'" ${LDFLAGS}";;
90,91c90,91
< + NetBSD*|DragonFly*) LDSHARED='$(CC) -shared ${LDFLAGS}';;
< + Interix*) LDSHARED='$(CC) -shared ${LDFLAGS}';; # XXX tv needs image-base hack
---
> + NetBSD*|DragonFly*) LDSHARED='$(CC)'" -shared ${LDFLAGS}";;
> + Interix*) LDSHARED='$(CC)'" -shared ${LDFLAGS}";; # XXX tv needs image-base hack