diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-19 04:26:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-19 04:26:40 +0000 |
commit | 692f44d564cec973b0255f1fcb719979d4ffb9fc (patch) | |
tree | 167cccbc74682f4871cc8b382bc46128b3ac7437 | |
parent | 35616f80b54ad68fbbb32d26e3ed1b33eb6cdded (diff) | |
download | pkgsrc-692f44d564cec973b0255f1fcb719979d4ffb9fc.tar.gz |
Ensure that we link PIC code to create systray.so. This should fix builds
on amd64.
-rw-r--r-- | chat/xchat-systray-integration/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chat/xchat-systray-integration/Makefile b/chat/xchat-systray-integration/Makefile index ef5f5c4ac78..d003bb9b164 100644 --- a/chat/xchat-systray-integration/Makefile +++ b/chat/xchat-systray-integration/Makefile @@ -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 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 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" |