summaryrefslogtreecommitdiffstats
path: root/usr.bin/xo
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-10-06 07:28:54 +0000
committerngie <ngie@FreeBSD.org>2015-10-06 07:28:54 +0000
commitf61b60624c8d04156826dd91d4c4e605f76248dd (patch)
treecc0d728b2d51cf44471bd0b5081268507b2eb246 /usr.bin/xo
parent945e362d2bdc9f7cc475b22a4d5eca8bb5b0e707 (diff)
downloadFreeBSD-src-f61b60624c8d04156826dd91d4c4e605f76248dd.zip
FreeBSD-src-f61b60624c8d04156826dd91d4c4e605f76248dd.tar.gz
Use LIBXOSRC instead of LIBXO when defining the path to contrib/libxo
The latter is already defined in bsd.libnames.mk, so avoid the conflict in case someone copy-pastes make variables While here, switch path to the top of the source tree with SRCTOP
Diffstat (limited to 'usr.bin/xo')
-rw-r--r--usr.bin/xo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xo/Makefile b/usr.bin/xo/Makefile
index be22618..a287608 100644
--- a/usr.bin/xo/Makefile
+++ b/usr.bin/xo/Makefile
@@ -1,14 +1,14 @@
# $FreeBSD$
-LIBXO= ${.CURDIR:H:H}/contrib/libxo
+LIBXOSRC= ${SRCTOP}/contrib/libxo
-.PATH: ${LIBXO}/xo
+.PATH: ${LIBXOSRC}/xo
PROG= xo
MAN= xo.1
# XXX For xoversion.h
-CFLAGS+=-I${LIBXO}/libxo
+CFLAGS+=-I${LIBXOSRC}/libxo
LIBADD= xo util
OpenPOWER on IntegriCloud