Date: Tue, 31 Aug 2010 17:18:10 GMT From: Anderson Eduardo <anderson@secover.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/150153: [PATCH] editors/ved can't install due to port is marked as BROKEN Message-ID: <201008311718.o7VHIA1K096707@www.freebsd.org> Resent-Message-ID: <201008311720.o7VHK4SV057926@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150153 >Category: ports >Synopsis: [PATCH] editors/ved can't install due to port is marked as BROKEN >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Aug 31 17:20:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anderson Eduardo >Release: 8.1-RELEASE >Organization: Secover >Environment: FreeBSD lab.secover.com.br 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Aug 16 17:36:19 UTC 2010 anderson@lab.secover.com.br:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The port editors/ved is marked as BROKEN due to some build erros. >How-To-Repeat: >Fix: Patch attached with submission follows: --- /usr/ports/editors/ved/Makefile 2008-04-25 20:11:46.000000000 -0300 +++ /usr/home/anderson/ports/editors/ved/Makefile 2010-08-31 14:34:05.000000000 -0300 @@ -13,7 +13,7 @@ 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 +21,6 @@ .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 +28,8 @@ 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 +38,9 @@ && ${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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008311718.o7VHIA1K096707>