Permalink
Browse files

- Don't redefine LOCALBASE, use PREFIX to install to, this also fixes

  installation with pkgng. The port would otherwise try to install pkg
  again

===>   uarduno-1.02 depends on file: /boot/kernel/sbin/pkg - not found

- Don't leave any leftovers in KMODDIR

Approved by:	maintainer
Feature safe:	yes
  • Loading branch information...
1 parent 95f419d commit 2c86ad155b510f090a689f25cc428ce541816ae9 @fsmeets fsmeets committed Nov 14, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 comms/uarduno/Makefile
View
@@ -1,9 +1,5 @@
-# Ports collection makefile for: uarduno
-# Date created: 11-19-2010
-# Whom: 'Big Bad Bob' Frazier <bobf@mrp3.com>
-#
+# Created by: 'Big Bad Bob' Frazier <bobf@mrp3.com>
# $FreeBSD$
-#
PORTNAME= uarduno
PORTVERSION= 1.02
@@ -17,7 +13,7 @@ NO_PACKAGE= You must (re)build this port with your kernel source
# need to enforce installation into kernel module directory
MAKE_ENV+= KMODDIR=${KMODDIR}
-LOCALBASE= ${KMODDIR}
+PREFIX= ${KMODDIR}
.include <bsd.port.pre.mk>
@@ -29,7 +25,8 @@ NO_MTREE= yes
# some test targets need a predictable source directory
WRKSRC= ${WRKDIR}/uarduno
-PLIST_FILES= uarduno.ko
+PLIST_FILES= uarduno.ko \
+ "@unexec kldxref ${KMODDIR}"
MAKE_JOBS_SAFE= yes
# no license required

0 comments on commit 2c86ad1

Please sign in to comment.