pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/xchat-systray-integration Ensure that we link PIC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8de618309b3f
branches:  trunk
changeset: 485711:8de618309b3f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Dec 19 04:26:40 2004 +0000

description:
Ensure that we link PIC code to create systray.so.  This should fix builds
on amd64.

diffstat:

 chat/xchat-systray-integration/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8b0415dba07e -r 8de618309b3f chat/xchat-systray-integration/Makefile
--- a/chat/xchat-systray-integration/Makefile   Sun Dec 19 04:02:43 2004 +0000
+++ b/chat/xchat-systray-integration/Makefile   Sun Dec 19 04:26:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/06/07 06:12:16 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2004/12/19 04:26:40 jlam Exp $
 
 DISTNAME=      xchat-systray-integration-2.4.5-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -15,6 +15,9 @@
 USE_BUILDLINK3=        yes
 USE_GNU_TOOLS+=        make
 
+# We build a shared object, so ensure that the object files are PIC.
+CFLAGS+=       -fPIC
+
 MAKE_ENV+=     prefix=${PREFIX}
 
 .include "../../devel/pkgconfig/buildlink3.mk"



Home | Main Index | Thread Index | Old Index