Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2005 11:47:51 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79141 for review
Message-ID:  <200506291147.j5TBlp0N094433@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79141

Change 79141 by rwatson@rwatson_zoo on 2005/06/29 11:47:35

	Abuse .PATH less.

Affected files ...

.. //depot/projects/trustedbsd/audit3/lib/libbsm/Makefile#8 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/lib/libbsm/Makefile#8 (text+ko) ====

@@ -3,11 +3,12 @@
 #
 
 OPENBSMDIR=		${.CURDIR}/../../contrib/openbsm
+LIBBSMDIR=		${OPENBSMDIR}/libbsm
 
 LIB=		bsm
 SHLIB_MAJOR=	1
 
-.PATH:		${OPENBSMDIR}/libbsm
+.PATH:		${LIBBSMDIR}
 
 SRCS=	bsm_audit.c							\
 	bsm_class.c							\
@@ -24,7 +25,7 @@
 #
 # Must use BSM include files from within the contrib area, not the system.
 #
-CFLAGS+=	-I${OPENBSMDIR} ${.PATH}-I ${.CURDIR}/../../sys
+CFLAGS+=	-I${OPENBSMDIR} -I${LIBBSMDIR} -I${.CURDIR}/../../sys
 
 INCS=	libbsm.h
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506291147.j5TBlp0N094433>