summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lex/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile
index 51d71b6..f94eaab 100644
--- a/usr.bin/lex/lib/Makefile
+++ b/usr.bin/lex/lib/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
LIB= ln
SRCS= libmain.c libyywrap.c
NO_PIC=
@@ -7,7 +9,7 @@ NO_PIC=
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
-.if !defined(NO_PROFILE)
+.if ${MK_PROFILE} != "no"
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a
.endif
OpenPOWER on IntegriCloud