aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-09-01 16:18:27 +0800
committerwen <wen@FreeBSD.org>2010-09-01 16:18:27 +0800
commit69b1cf0ed84138cac73021d04468bba1f29234ad (patch)
treecd1c16eb5c946950950280834cd50ca7ba47dd63
parentf4991f56fde89e996cfe5453bdc0fd3d8dde83f6 (diff)
downloadfreebsd-ports-gnome-69b1cf0ed84138cac73021d04468bba1f29234ad.tar.gz
freebsd-ports-gnome-69b1cf0ed84138cac73021d04468bba1f29234ad.tar.zst
freebsd-ports-gnome-69b1cf0ed84138cac73021d04468bba1f29234ad.zip
- Unbreak on -8 and -current
PR: ports/150153 Submitted by: Anderson Eduardo <anderson@secover.com.br>
-rw-r--r--editors/ved/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
index b805308fa15e..3af72af37c37 100644
--- a/editors/ved/Makefile
+++ b/editors/ved/Makefile
@@ -7,13 +7,14 @@
PORTNAME= ved
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.berlios.de/pub/ved/
MAINTAINER= ports@FreeBSD.org
COMMENT= A small and fast screen-oriented editor
-USE_GMAKE= yes
+BUILD_DEPENDS= smake:${PORTSDIR}/devel/smake
MAN1= ved.1
PLIST_FILES= bin/ved %%DATADIR%%/ved.help
@@ -21,10 +22,6 @@ PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800030
-BROKEN= does not compile
-.endif
-
.if ${ARCH} == "ia64"
BROKEN= does not compile on ia64
.endif
@@ -32,6 +29,9 @@ BROKEN= does not compile on ia64
post-patch:
${REINPLACE_CMD} -e 's|^COPTOPT=.*$$|COPTOPT= ${CFLAGS}|g ; \
s| gcc| ${CC}|g' ${WRKSRC}/RULES/i386-freebsd-cc.rul
+ ${REINPLACE_CMD} -e 's|fexecve|fexecve_ved|g' ${WRKSRC}/include/schily.h
+ ${REINPLACE_CMD} -e 's|fexecve|fexecve_ved|g' ${WRKSRC}/libschily/fexec.c
+
.for file in ved.h ved.1
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/ved/${file}
.endfor
@@ -40,6 +40,9 @@ post-patch:
&& ${LN} -sf i386-freebsd-cc.rul ${arch}-freebsd-cc.rul
.endfor
+do-build:
+ (cd ${WRKSRC} && smake)
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
${PREFIX}/bin