aboutsummaryrefslogtreecommitdiffstats
path: root/lang/scriba
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-02-17 08:12:02 +0800
committerkris <kris@FreeBSD.org>2004-02-17 08:12:02 +0800
commit4d2950a841bc6b1c623d2058b8e169b02b588f21 (patch)
treed905859edf078117f0db6d76098f9880f562dc8d /lang/scriba
parentd96847eacff38acac1e77bfab1815954232be273 (diff)
downloadfreebsd-ports-gnome-4d2950a841bc6b1c623d2058b8e169b02b588f21.tar.gz
freebsd-ports-gnome-4d2950a841bc6b1c623d2058b8e169b02b588f21.tar.zst
freebsd-ports-gnome-4d2950a841bc6b1c623d2058b8e169b02b588f21.zip
Respect PTHREAD_{CFLAGS,LIBS} and bump PORTREVISION.
Diffstat (limited to 'lang/scriba')
-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\