aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vcg
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-08-23 00:00:33 +0800
committermarino <marino@FreeBSD.org>2015-08-23 00:00:33 +0800
commitdaf294ed20926a914214808663d65f585f265ffd (patch)
tree927c390d0a134865ca4807be95144725504f3bf3 /graphics/vcg
parent7c769efcf38bd8de5ef412d895fc15f6b10fde72 (diff)
downloadfreebsd-ports-gnome-daf294ed20926a914214808663d65f585f265ffd.tar.gz
freebsd-ports-gnome-daf294ed20926a914214808663d65f585f265ffd.tar.zst
freebsd-ports-gnome-daf294ed20926a914214808663d65f585f265ffd.zip
graphics/vcg: Fix build on DragonFly
This is a clean alteration to an unmaintained port that allows it to build on DragonFly.
Diffstat (limited to 'graphics/vcg')
-rw-r--r--graphics/vcg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile
index 946942f8c559..1b470f94092c 100644
--- a/graphics/vcg/Makefile
+++ b/graphics/vcg/Makefile
@@ -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: