1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

graphics/vcg: Fix build on DragonFly

This is a clean alteration to an unmaintained port that allows it to
build on DragonFly.
This commit is contained in:
John Marino 2015-08-22 16:00:33 +00:00
parent f10ad36eac
commit 8b8cea88e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395041

View File

@ -23,7 +23,7 @@ USE_XORG= x11 xext
MAKE_JOBS_UNSAFE= yes
pre-patch:
@${MKDIR} ${WRKSRC}/preconf/X11ccFreeBSD
@${MKDIR} ${WRKSRC}/preconf/X11cc${OPSYS}
.for file in conf demo.csh globals.h tMakefile
@${SED} -e "s:%%CC%%:${CC}:g" \
-e "s:%%CFLAGS%%:${CFLAGS}:g" \
@ -32,7 +32,7 @@ pre-patch:
-e "s:%%PREFIX%%:${STAGEDIR}${PREFIX}:g" \
-e "s:%%INSTALL_PROGRAM%%:${INSTALL_PROGRAM}:g" \
-e "s:%%INSTALL_MAN%%:${INSTALL_MAN}:g" \
< ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11ccFreeBSD/${file}
< ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11cc${OPSYS}/${file}
.endfor
post-patch: