mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +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:
parent
61063fe35d
commit
6a21e8027c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63326
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user