mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- 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
This commit is contained in:
parent
a7f6b98af1
commit
b04a566b45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307411
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user