From 655dd99c323295363af2d5a81ea4d08ef89294bd Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 30 Jan 2005 14:37:32 +0000 Subject: - Fix install on sparc64 [1] - Fix kris' typo PR: ports/76832 [1] Submitted by: Johan van Selst --- lang/scriba/Makefile | 10 ++-------- lang/scriba/files/patch-cftc.c | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 lang/scriba/files/patch-cftc.c (limited to 'lang/scriba') diff --git a/lang/scriba/Makefile b/lang/scriba/Makefile index 2332f5b239e2..4a05abd576de 100644 --- a/lang/scriba/Makefile +++ b/lang/scriba/Makefile @@ -7,7 +7,7 @@ PORTNAME= scriba PORTVERSION= 10b21 -PORTREVUSION= 1 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.scriptbasic.com/download/ DISTNAME= ${PORTNAME}-v${PORTVERSION} @@ -30,12 +30,6 @@ USE_PERL5= yes CFLAGS+= -fPIC MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" -.include - -.if ${ARCH} == "sparc64" -BROKEN= "Install fails on sparc64" -.endif - post-patch: .for P in ${PRFXFILES} @(cd ${WRKSRC} && ${SED} -e 's,%%PREFIX%%,${PREFIX},g' $P > foo && \ @@ -58,4 +52,4 @@ do-install: ${WRKSRC}/cftc ${WRKSRC}/scriba.conf.unix.lsp \ ${PREFIX}/etc/scriba/basic.conf -.include +.include diff --git a/lang/scriba/files/patch-cftc.c b/lang/scriba/files/patch-cftc.c new file mode 100644 index 000000000000..9e4ad0476386 --- /dev/null +++ b/lang/scriba/files/patch-cftc.c @@ -0,0 +1,16 @@ +--- cftc.c.orig Sat Jan 29 21:04:00 2005 ++++ cftc.c Sat Jan 29 21:06:09 2005 +@@ -4,6 +4,7 @@ + #include "confpile.h" + + ++int + main(int argc,char *argv[]){ + int iError; + tConfigTree MyCONF; +@@ -28,4 +29,5 @@ + fprintf(stderr,"The error code is %d\n",iError); + exit(iError); + } ++ return 0; + } -- cgit v1.2.3