aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-02-17 00:12:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-02-17 00:12:02 +0000
commit3272af8f88cc0b0e6dabb184453004591f5d019c (patch)
tree7bc4195736b560075c8f8c249f28cf7cf0de1164 /lang
parent0c9a37240558d2da6cb3a82a5c7700a31ee38659 (diff)
downloadports-3272af8f88cc0b0e6dabb184453004591f5d019c.tar.gz
ports-3272af8f88cc0b0e6dabb184453004591f5d019c.zip
Notes
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\