summaryrefslogtreecommitdiffstats
path: root/editors/ved
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-31 02:35:32 +0000
committerarved <arved@FreeBSD.org>2004-01-31 02:35:32 +0000
commit5473a4afb6e927e69f22906d73cff5ab07f7ba6b (patch)
tree118e21b080431dfb8395914c9e529e2c433fe035 /editors/ved
parent90a85508941a604fec8ec5cdf4a12e9680cb596b (diff)
downloadFreeBSD-ports-5473a4afb6e927e69f22906d73cff5ab07f7ba6b.zip
FreeBSD-ports-5473a4afb6e927e69f22906d73cff5ab07f7ba6b.tar.gz
Fix build on AMD64
Diffstat (limited to 'editors/ved')
-rw-r--r--editors/ved/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
index f6eff33..314e335 100644
--- a/editors/ved/Makefile
+++ b/editors/ved/Makefile
@@ -18,10 +18,15 @@ USE_GMAKE= yes
MAN1= ved.1
+.include <bsd.port.pre.mk>
+
post-patch:
.for file in ved.h ved.1
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/ved/${file}
.endfor
+.if ${ARCH} == amd64
+ ${CP} ${WRKSRC}/RULES/i386-freebsd-cc.rul ${WRKSRC}/RULES/amd64-freebsd-cc.rul
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
@@ -30,4 +35,4 @@ do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ved/ved.help ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud