Fix this port on the amd64 platform. (crosses fingers)
Noticed on: bento Submitted by: jon@witchspace.com
This commit is contained in:
parent
ca0481961e
commit
9b4fa393c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91499
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user