svn commit: r307411 - head/comms/uarduno

Florian Smeets flo at FreeBSD.org
Wed Nov 14 10:58:53 UTC 2012


Author: flo
Date: Wed Nov 14 10:58:52 2012
New Revision: 307411
URL: http://svnweb.freebsd.org/changeset/ports/307411

Log:
  - 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

Modified:
  head/comms/uarduno/Makefile   (contents, props changed)

Modified: head/comms/uarduno/Makefile
==============================================================================
--- head/comms/uarduno/Makefile	Wed Nov 14 10:56:15 2012	(r307410)
+++ head/comms/uarduno/Makefile	Wed Nov 14 10:58:52 2012	(r307411)
@@ -1,9 +1,5 @@
-# Ports collection makefile for:	uarduno
-# Date created:				11-19-2010
-# Whom:					'Big Bad Bob' Frazier <bobf at mrp3.com>
-#
+# Created by: 'Big Bad Bob' Frazier <bobf at mrp3.com>
 # $FreeBSD$
-#
 
 PORTNAME=	uarduno
 PORTVERSION=	1.02
@@ -17,7 +13,7 @@ NO_PACKAGE=	You must (re)build this port
 
 # 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


More information about the svn-ports-all mailing list