mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-09-21 15:52:39 +02:00
Fixed bogus existence test related to searching for a nearby obj
directory. man.1 is always in the current (= object) directory, so don't search for it.
This commit is contained in:
parent
7a57462e37
commit
a9d9f5acb1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24791
@ -1,5 +1,6 @@
|
||||
PROG= man
|
||||
SRCS= man.c manpath.c glob.c
|
||||
MAN1= man.1
|
||||
BINOWN= man
|
||||
BINMODE=4555
|
||||
INSTALLFLAGS+= -fschg
|
||||
@ -13,12 +14,6 @@ CFLAGS+= -I${LIBDESTDIR}
|
||||
DPADD= ${LIBDESTDIR}/libman.a
|
||||
LDADD= -L${LIBDESTDIR} -lman
|
||||
|
||||
.if exists(${.OBJDIR})
|
||||
MAN1= ${.OBJDIR}/man.1
|
||||
.else
|
||||
MAN1= ${.CURDIR}/man.1
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF
|
||||
CFLAGS+= -DDO_COMPRESS -DALT_SYSTEMS -DSETREUID -DCATMODE=0644
|
||||
CLEANFILES+= ${MAN1}
|
||||
|
Loading…
Reference in New Issue
Block a user