diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-30 14:37:32 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-30 14:37:32 +0000 |
commit | 655dd99c323295363af2d5a81ea4d08ef89294bd (patch) | |
tree | 253d31c8eb07bfe8785102a079f6fa410f0a588d /lang/scriba | |
parent | - Fix build on 5.x: add dependency on motif [1] (diff) |
- Fix install on sparc64 [1]
- Fix kris' typo
PR: ports/76832 [1]
Submitted by: Johan van Selst <johans@stack.nl>
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; + } |