aboutsummaryrefslogtreecommitdiff
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
parentca0481961e077bd4cde660ba153d6c5debe4db5c (diff)
downloadports-9b4fa393c58d4998a9a262783c4eacaa26e4c1cf.tar.gz
ports-9b4fa393c58d4998a9a262783c4eacaa26e4c1cf.zip
Notes
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>