diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-17 09:18:34 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-17 09:18:34 +0000 |
commit | f3081114e8c764f6d5d219184f3597dca3308598 (patch) | |
tree | 4246cdeae159b5906ee0f8f5d7a987251af4ffad /graphics | |
parent | 57a872ef9b64dd7f01f98f3c9c4f04d096c1dcfe (diff) | |
download | FreeBSD-ports-f3081114e8c764f6d5d219184f3597dca3308598.zip FreeBSD-ports-f3081114e8c764f6d5d219184f3597dca3308598.tar.gz |
Fix this port on the amd64 platform. (crosses fingers)
Noticed on: bento
Submitted by: jon@witchspace.com
Diffstat (limited to 'graphics')
-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 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 <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> |