aboutsummaryrefslogtreecommitdiffstats
path: root/editors/ved
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-31 10:35:32 +0800
committerarved <arved@FreeBSD.org>2004-01-31 10:35:32 +0800
commit5473a4afb6e927e69f22906d73cff5ab07f7ba6b (patch)
tree118e21b080431dfb8395914c9e529e2c433fe035 /editors/ved
parent90a85508941a604fec8ec5cdf4a12e9680cb596b (diff)
downloadfreebsd-ports-gnome-5473a4afb6e927e69f22906d73cff5ab07f7ba6b.tar.gz
freebsd-ports-gnome-5473a4afb6e927e69f22906d73cff5ab07f7ba6b.tar.zst
freebsd-ports-gnome-5473a4afb6e927e69f22906d73cff5ab07f7ba6b.zip
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 f6eff33d66c5..314e335c7b7e 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>