pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/26847
The following reply was made to PR pkg/26847; it has been noted by GNATS.
From: Hiramatsu Yoshifumi <hiramatu%boreas.dti.ne.jp@localhost>
To: uebayasi%netbsd.org@localhost
Cc: pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: pkg/26847
Date: Fri, 21 Jan 2005 11:15:36 +0900
At Tue, 18 Jan 2005 12:45:52 +0000 (UTC),
uebayasi%netbsd.org@localhost wrote:
>
> Synopsis: shells/zsh fix for Interix
>
> State-Changed-From-To: open->feedback
> State-Changed-By: uebayasi%netbsd.org@localhost
> State-Changed-When: Tue, 18 Jan 2005 12:45:50 +0000
> State-Changed-Why:
> Patch applied. Please test.
Can you please replace patches/patch-ac by this diff?
Interix's gcc has problem with -fPIC, and this new patch-ac just removes it.
Even without -fPIC, zmodload works ok on my box.
--- configure.orig Fri Aug 13 19:24:24 2004
+++ configure Fri Jan 21 10:03:35 2005
@@ -13713,6 +13713,10 @@
DLLD="${DLLD=$CC}"
DLLDARG=""
;;
+ *interix*)
+ DLLD="${DLLD=$CC}"
+ DLLDARG=""
+ ;;
* )
DLLD="${DLLD=ld}"
DLLDARG=""
@@ -13723,6 +13727,7 @@
case "$host_os" in
hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;;
+ interix*) DLCFLAGS="${DLCFLAGS=}" ;;
*) DLCFLAGS="${DLCFLAGS=-fPIC}" ;;
esac
else
@@ -13736,7 +13741,7 @@
esac
fi
case "$host_os" in
- freebsd*|linux*|irix*|osf*|gnu*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+ freebsd*|linux*|irix*|osf*|gnu*|interix*)
DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared
--whole-archive}" ;;
--
// Hiramatsu Yoshifumi
// hiramatu%boreas.dti.ne.jp@localhost
Home |
Main Index |
Thread Index |
Old Index