summaryrefslogtreecommitdiff
path: root/graphics/kix-kmod
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-17 09:18:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-17 09:18:34 +0000
commit9b4fa393c58d4998a9a262783c4eacaa26e4c1cf (patch)
treee3d2f87eaf2475131ea648b2029742b2732ab7e6 /graphics/kix-kmod
parentPut C*FLAGS into CONFIGURE_ENV instead of assigning it directly. This (diff)
Fix this port on the amd64 platform. (crosses fingers)
Noticed on: bento Submitted by: jon@witchspace.com
Notes
Notes: svn path=/head/; revision=91499
Diffstat (limited to 'graphics/kix-kmod')
-rw-r--r--graphics/kix-kmod/Makefile8
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>