aboutsummaryrefslogtreecommitdiff
path: root/comms/uartlirc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-22 09:24:44 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-22 09:24:44 +0000
commit5b8385ece21448893203b8318c4dc35179a413d5 (patch)
treef069a22615b51d3298f29e847ab5c448126fe7a1 /comms/uartlirc
parentd2968b60e3699d622a1596e1657310aef4269fe9 (diff)
downloadports-5b8385ece21448893203b8318c4dc35179a413d5.tar.gz
ports-5b8385ece21448893203b8318c4dc35179a413d5.zip
Notes
Diffstat (limited to 'comms/uartlirc')
-rw-r--r--comms/uartlirc/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/comms/uartlirc/Makefile b/comms/uartlirc/Makefile
index 34890a6f2d75..636ee59541cd 100644
--- a/comms/uartlirc/Makefile
+++ b/comms/uartlirc/Makefile
@@ -20,13 +20,12 @@ EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=
-.include <bsd.port.pre.mk>
-
-PLIST_FILES+= "@cwd /"
-PLIST_FILES+= ${KMODDIR:C,^/,,}/${PORTNAME}.ko
+PLIST_FILES+= ${KMODDIR}/${PORTNAME}.ko
CFLAGS+= ${DEBUG_FLAGS}
+.include <bsd.port.options.mk>
+
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not compile on powerpc or sparc64
.endif
@@ -34,4 +33,4 @@ BROKEN= Does not compile on powerpc or sparc64
do-install:
${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>