aboutsummaryrefslogtreecommitdiff
path: root/comms/uarduno
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-05-23 03:07:34 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-05-23 03:07:34 +0000
commit3d69c10ba40a9ace5398092d39df5e564aacb821 (patch)
treeb9b93a2bec4e47b96f9a1d89eb91e5391bab1508 /comms/uarduno
parenta6d78ba487f9bbc17c00d5e453254e12a0e1bd7e (diff)
downloadports-3d69c10ba40a9ace5398092d39df5e564aacb821.tar.gz
ports-3d69c10ba40a9ace5398092d39df5e564aacb821.zip
- re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
PR: ports/165994 Submitted by: 4721@hushmail.com Approved by: maintainer, bobf@mrp3.com
Notes
Notes: svn path=/head/; revision=297253
Diffstat (limited to 'comms/uarduno')
-rw-r--r--comms/uarduno/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/comms/uarduno/Makefile b/comms/uarduno/Makefile
index fe1fbf3379e6..3f7b665d42fd 100644
--- a/comms/uarduno/Makefile
+++ b/comms/uarduno/Makefile
@@ -19,6 +19,8 @@ NO_PACKAGE= You must (re)build this port with your kernel source
MAKE_ENV+= KMODDIR=${KMODDIR}
LOCALBASE= ${KMODDIR}
+.include <bsd.port.pre.mk>
+
SRCPREFIX?= ${SRC_BASE}
# disable mtree or you'll get a /boot/kernel/... directory hierarchy put there
@@ -41,8 +43,6 @@ NO_LICENSES_DIALOGS= yes
#
CFLAGS+= -DKERNELVER=${OSVERSION}
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} < 800000
# Simple check for 7.x kernel source (find usb.c)
.if ! exists(${SRCPREFIX}/sys/dev/usb/usb.c)