aboutsummaryrefslogtreecommitdiff
path: root/graphics/xv/Makefile
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-10-19 12:54:17 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-10-19 12:54:17 +0000
commit1471f5cf0f6f47a0c6151801997c098b41759da9 (patch)
treeab08e5c29f7939e17fa5cfde764a12b2a79784cc /graphics/xv/Makefile
parent07cddebe69ed1cee97792ea3cbe4c13e0a576e13 (diff)
downloadports-1471f5cf0f6f47a0c6151801997c098b41759da9.tar.gz
ports-1471f5cf0f6f47a0c6151801997c098b41759da9.zip
Notes
Diffstat (limited to 'graphics/xv/Makefile')
-rw-r--r--graphics/xv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index e187275ac13c..e85824ce75f8 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -48,6 +48,9 @@ post-patch:
@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/xv-png-1.2d.patch
@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/png-1.2d-fix.patch
@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch
+ @${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.in
+ @${CAT} ${WRKSRC}/config.h.in | \
+ ${SED} -e "s@%%LOCALBASE%%@${LOCALBASE}@" > ${WRKSRC}/config.h
post-install:
.if !defined(NOPORTDOCS)