aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/scriba/Makefile2
-rw-r--r--lang/scriba/files/patch-aa8
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/scriba/Makefile b/lang/scriba/Makefile
index 877719c1f643..f1a6b9b2cf9c 100644
--- a/lang/scriba/Makefile
+++ b/lang/scriba/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scriba
PORTVERSION= 10b21
+PORTREVUSION= 1
CATEGORIES= lang
MASTER_SITES= http://www.scriptbasic.com/download/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
@@ -27,6 +28,7 @@ PRFXFILES= variations/standard/basiccmd.c \
WRKSRC= ${WRKDIR}
USE_PERL5= yes
CFLAGS+= -fPIC
+MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
post-patch:
.for P in ${PRFXFILES}
diff --git a/lang/scriba/files/patch-aa b/lang/scriba/files/patch-aa
index 39b61b4e0528..6f8cfda3c2d8 100644
--- a/lang/scriba/files/patch-aa
+++ b/lang/scriba/files/patch-aa
@@ -1,13 +1,13 @@
---- Makefile.orig Wed Dec 27 19:52:16 2000
-+++ Makefile Fri Jan 12 18:34:19 2001
+--- Makefile.orig Wed Dec 27 03:52:16 2000
++++ Makefile Mon Feb 16 16:06:00 2004
@@ -1,8 +1,8 @@
CC=cc
LDOPTIONS=-shared
LD=ld
-CCFLAGS=
-LIBS=-lm -ldl -lpthread
-+CCFLAGS=$(CFLAGS)
-+LIBS=-lm -lc_r
++CCFLAGS=$(CFLAGS) $(PTHREAD_CFLAGS)
++LIBS=-lm $(PTHREAD_LIBS)
OBJS=builder.o conftree.o dynlolib.o execute.o\
expression.o filesys.o getopt.o lexer.o match.o\
memory.o myalloc.o options.o reader.o report.o sym.o\