diff options
-rw-r--r-- | graphics/kix-kmod/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/kix-kmod/Makefile b/graphics/kix-kmod/Makefile index d75451b9585e..a7a4edf9dce0 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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |