mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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 changed files with 4 additions and 7 deletions
|
@ -1,9 +1,5 @@
|
||||||
# Ports collection makefile for: uarduno
|
# Created by: 'Big Bad Bob' Frazier <bobf@mrp3.com>
|
||||||
# Date created: 11-19-2010
|
|
||||||
# Whom: 'Big Bad Bob' Frazier <bobf@mrp3.com>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= uarduno
|
PORTNAME= uarduno
|
||||||
PORTVERSION= 1.02
|
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
|
# need to enforce installation into kernel module directory
|
||||||
MAKE_ENV+= KMODDIR=${KMODDIR}
|
MAKE_ENV+= KMODDIR=${KMODDIR}
|
||||||
LOCALBASE= ${KMODDIR}
|
PREFIX= ${KMODDIR}
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -29,7 +25,8 @@ NO_MTREE= yes
|
||||||
# some test targets need a predictable source directory
|
# some test targets need a predictable source directory
|
||||||
WRKSRC= ${WRKDIR}/uarduno
|
WRKSRC= ${WRKDIR}/uarduno
|
||||||
|
|
||||||
PLIST_FILES= uarduno.ko
|
PLIST_FILES= uarduno.ko \
|
||||||
|
"@unexec kldxref ${KMODDIR}"
|
||||||
MAKE_JOBS_SAFE= yes
|
MAKE_JOBS_SAFE= yes
|
||||||
|
|
||||||
# no license required
|
# no license required
|
||||||
|
|
Loading…
Add table
Reference in a new issue