summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-02-28 11:12:33 +0000
committermarkd <markd@pkgsrc.org>2007-02-28 11:12:33 +0000
commit153b9a50584491666c9f03b4fb9b9a8272d92b72 (patch)
tree0a28e8dcdda14977f8e11f209a11ec49ea5a36b4
parentfc2a1e1a9dcc01947c74ff5b05c4b5f2d9b24660 (diff)
downloadpkgsrc-153b9a50584491666c9f03b4fb9b9a8272d92b72.tar.gz
On NetBSD don't try to use PIE linking. Its not supported on NetBSD
and breaks things for macppc. Problem noted by Michael Lorenz.
-rw-r--r--meta-pkgs/kde3/kde3.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-pkgs/kde3/kde3.mk b/meta-pkgs/kde3/kde3.mk
index 362f8842a3e..eadc4470d34 100644
--- a/meta-pkgs/kde3/kde3.mk
+++ b/meta-pkgs/kde3/kde3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: kde3.mk,v 1.14 2007/01/26 02:36:14 markd Exp $
+# $NetBSD: kde3.mk,v 1.15 2007/02/28 11:12:33 markd Exp $
#
# This Makefile fragment is included by packages that use the KDE3
# configure-and-build process.
@@ -50,6 +50,10 @@ BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
GCC_REQD+= 3.3
.endif
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-pie
+.endif
+
KDEDIR?= ${PREFIX}
QTDIR?= ${PREFIX}/qt3