diff options
author | jlam <jlam> | 2004-12-19 04:26:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-12-19 04:26:40 +0000 |
commit | 4735550272a7369574f90ad7ee7ae0a4aa1a9b9f (patch) | |
tree | 167cccbc74682f4871cc8b382bc46128b3ac7437 /chat | |
parent | b4e7c5ba626d8e22fb65b7ca86b7b674596ad01f (diff) | |
download | pkgsrc-4735550272a7369574f90ad7ee7ae0a4aa1a9b9f.tar.gz |
Ensure that we link PIC code to create systray.so. This should fix builds
on amd64.
Diffstat (limited to 'chat')
-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" |