From f3081114e8c764f6d5d219184f3597dca3308598 Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 17 Oct 2003 09:18:34 +0000 Subject: Fix this port on the amd64 platform. (crosses fingers) Noticed on: bento Submitted by: jon@witchspace.com --- graphics/kix-kmod/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/kix-kmod/Makefile b/graphics/kix-kmod/Makefile index d75451b..a7a4edf 100644 --- a/graphics/kix-kmod/Makefile +++ b/graphics/kix-kmod/Makefile @@ -18,10 +18,16 @@ COMMENT= A graphical screensaver kernel module BROKEN= "Requires kernel source (/usr/src/sys) to build" .endif +.include + +.if ${ARCH} == amd64 +CFLAGS+= -fPIC +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kix_saver.ko ${PREFIX}/lib post-install: @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE} -.include +.include -- cgit v1.1