diff options
Diffstat (limited to 'lang/scriba')
-rw-r--r-- | lang/scriba/Makefile | 10 | ||||
-rw-r--r-- | lang/scriba/files/patch-cftc.c | 16 |
2 files changed, 18 insertions, 8 deletions
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 <bsd.port.pre.mk> - -.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 <bsd.port.post.mk> +.include <bsd.port.mk> 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; + } |