pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql51-client Interix GNU cc doesn't suppor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e108d6379179
branches:  trunk
changeset: 574945:e108d6379179
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Apr 30 06:03:36 2010 +0000

description:
Interix GNU cc doesn't support `-fPIC'.

diffstat:

 databases/mysql51-client/Makefile.common |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c7324f58f3dc -r e108d6379179 databases/mysql51-client/Makefile.common
--- a/databases/mysql51-client/Makefile.common  Fri Apr 30 05:42:12 2010 +0000
+++ b/databases/mysql51-client/Makefile.common  Fri Apr 30 06:03:36 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2010/04/24 15:59:23 taca Exp $
+# $NetBSD: Makefile.common,v 1.7 2010/04/30 06:03:36 obache Exp $
 #
 # used by databases/mysql51-client/Makefile
 # used by databases/mysql51-server/Makefile
@@ -87,8 +87,10 @@
 CPPFLAGS+=             -Dunix
 CFLAGS+=               -DUSE_OLD_FUNCTIONS # 3.23.x compat
 
+.if ${OPSYS} != "Interix"
 CFLAGS+=               -fPIC -DPIC
 CXXFLAGS+=             -fPIC -DPIC
+.endif
 
 # force HAVE_CURSES_H on Solaris since the configure script is broken
 # and does not properly detect this, breaking the build later on.



Home | Main Index | Thread Index | Old Index