1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fixed build on -CURRENT by replacing the matching but non-working 3.x

hacks (each shell command must be preceded by a tab, not spaces) with
the 4.x hacks (bsd.incs.mk soon to be merged).
This commit is contained in:
Ruslan Ermilov 2002-07-21 18:28:05 +00:00
parent 61063fe35d
commit 6a21e8027c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63326

View File

@ -16,21 +16,7 @@ SRCS= adpcm.cc bitmap.cc button.cc character.cc cxform.cc \
INCS= flash.h
NOMAN= YES
LIBDIR= ${LOCALBASE}/lib
INCDIR= ${LOCALBASE}/include
INCSDIR= ${LOCALBASE}/include
INCDIR= ${INCSDIR} # for pre-bsd.incs.mk API
.include <bsd.lib.mk>
# For FreeBSD 3.x or older
.if !target(_includeinstall)
_includeinstall:
.if defined(INCS)
.for header in ${INCS}
cd ${.CURDIR} && \
${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
${header} ${DESTDIR}${INCDIR}
.endfor
.endif
beforeinstall: _includeinstall
.endif