From 69b1cf0ed84138cac73021d04468bba1f29234ad Mon Sep 17 00:00:00 2001 From: wen Date: Wed, 1 Sep 2010 08:18:27 +0000 Subject: - Unbreak on -8 and -current PR: ports/150153 Submitted by: Anderson Eduardo --- editors/ved/Makefile | 13 ++++++++----- 1 file 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 -.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 -- cgit