diff options
author | Johan van Selst <johans@FreeBSD.org> | 2010-11-09 20:19:59 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2010-11-09 20:19:59 +0000 |
commit | a05b34c4e3d6fc05c43704e459a24dc81c123c19 (patch) | |
tree | c8d4b2d3e149d538330ba94fa70be65d2392f5c5 /lang/algol68g | |
parent | c93495d424e0e6a67729430096f821abcbd535d8 (diff) | |
download | ports-a05b34c4e3d6fc05c43704e459a24dc81c123c19.tar.gz ports-a05b34c4e3d6fc05c43704e459a24dc81c123c19.zip |
- Update to algol68g 2.0.2
- Enable threading
Notes
Notes:
svn path=/head/; revision=264320
Diffstat (limited to 'lang/algol68g')
-rw-r--r-- | lang/algol68g/Makefile | 4 | ||||
-rw-r--r-- | lang/algol68g/distinfo | 6 | ||||
-rw-r--r-- | lang/algol68g/files/patch-configure | 68 |
3 files changed, 39 insertions, 39 deletions
diff --git a/lang/algol68g/Makefile b/lang/algol68g/Makefile index aabe0404e7c9..a8961adc87f6 100644 --- a/lang/algol68g/Makefile +++ b/lang/algol68g/Makefile @@ -6,7 +6,7 @@ # PORTNAME= algol68g -PORTVERSION= 2.0.1 +PORTVERSION= 2.0.2 CATEGORIES= lang MASTER_SITES= http://www.xs4all.nl/~jmvdveer/ DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz @@ -21,7 +21,7 @@ OPTIONS= PLOT "GNU plot support" On \ PGSQL "Postgresql support" On HAS_CONFIGURE= yes -CONFIGURE_ARGS= -macosx +CONFIGURE_ARGS= -O -macosx -threads CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} MAKEFILE= makefile diff --git a/lang/algol68g/distinfo b/lang/algol68g/distinfo index 5c4619a30aaf..e3b6eed91a70 100644 --- a/lang/algol68g/distinfo +++ b/lang/algol68g/distinfo @@ -1,6 +1,4 @@ -MD5 (algol68g-2.0.1.tgz) = 035f494eec49f773010b9ba07d405bdd -SHA256 (algol68g-2.0.1.tgz) = b154ae0d848432687ca6c9071fe4a58f9bd0bddcdefcba5260e75928eeef792b -SIZE (algol68g-2.0.1.tgz) = 370622 -MD5 (a68g-doc.pdf) = 5618ad6dae4376411e14961a1e134e56 +SHA256 (algol68g-2.0.2.tgz) = 74ccd03a45e5f948f5b53a95dd60c391b4625cad1e2b1ac618f65702ca163e54 +SIZE (algol68g-2.0.2.tgz) = 368474 SHA256 (a68g-doc.pdf) = 064b6761207d937aa704d245fc871a072f5a33ea23a346cb136ec8b2078ea321 SIZE (a68g-doc.pdf) = 2997138 diff --git a/lang/algol68g/files/patch-configure b/lang/algol68g/files/patch-configure index 9b1a29e06dd6..d3c243912e51 100644 --- a/lang/algol68g/files/patch-configure +++ b/lang/algol68g/files/patch-configure @@ -1,29 +1,40 @@ ---- configure.orig 2010-09-07 00:54:27.000000000 +0200 -+++ configure 2010-09-09 23:01:01.000000000 +0200 -@@ -38,7 +38,7 @@ PWD=`pwd` - SYS_INC=/usr/include - SYS_LIB=/usr/lib - SYS_BIN=/usr/bin --SYS_LOC=/usr/local -+SYS_LOC=$LOCALBASE - LOC_INC=$SYS_LOC/include - LOC_LIB=$SYS_LOC/lib - A68G_CHECK="./regression-$VERSION_NUMBER" -@@ -865,11 +865,11 @@ then - echo "SQL_DIR=$SQL_DIR">>$BUILD_FILE - echo "SQL_LIBS=-lpq" 1>>$BUILD_FILE - echo "SQL_FLAG=-DENABLE_POSTGRESQL" 1>>$BUILD_FILE -- elif [ -f $SYS_LIB/libpq.so -o -f $SYS_LIB/libpq.a -o -f $SYS_LIB/libpq.dylib ] -+ elif [ -f $LOC_LIB/libpq.so -o -f $SYS_LIB/libpq.a -o -f $SYS_LIB/libpq.dylib ] +--- configure.orig 2010-11-07 16:22:28.000000000 +0100 ++++ configure 2010-11-09 21:02:05.000000000 +0100 +@@ -47,7 +47,7 @@ A68G_DOC="./doc" + A68G_HTML_TEMPLATES="$A68G_DOC/html" + A68G_LATEX_TEMPLATES="$A68G_DOC/latex" + A68G_SOURCE="./source" +-SQL_DIR=$USR_LOC/pgsql ++SQL_DIR=$USR_LOC + UPLOAD_DIR="upload-$VERSION_NUMBER" + BUILD_FILE="$A68G_SOURCE/$MAKEFILE" + CONFIG_FILE="$A68G_SOURCE/config.h" +@@ -700,14 +700,8 @@ then + printf "checking for POSIX threads ... " + if [ -f $USR_INC/pthread.h ] then - libpostgresql=yes - echo "yes" -- echo "SQL_DIR=`dirname $SYS_LIB`">>$BUILD_FILE -+ echo "SQL_DIR=`dirname $LOC_LIB`">>$BUILD_FILE - echo "SQL_LIBS=-lpq" 1>>$BUILD_FILE - echo "SQL_FLAG=-DENABLE_POSTGRESQL" 1>>$BUILD_FILE +- if [ -f $USR_LIB/libpthread.so -o -f $USR_LIB/libpthread.a -o -f $USR_LIB/libpthread.dylib ] +- then +- echo "yes" +- echo "POSIX_THREADS_LIBS=-lpthread" 1>>$BUILD_FILE ++ echo "POSIX_THREADS_LIBS=-pthread" 1>>$BUILD_FILE + echo "POSIX_THREADS_FLAG=-DENABLE_PAR_CLAUSE" 1>>$BUILD_FILE +- else +- echo "no" +- fi else -@@ -996,7 +996,7 @@ FLAGS=$(CPPFLAGS) $(STD_CFLAGS) $(POSIX_ + echo "no" + fi +@@ -962,7 +956,7 @@ FLAGS=$(CPPFLAGS) $(STD_CFLAGS) $(POSIX_ + all: a68g + a68g: $(CS) + @echo "building a68g ..." +- @$(CC) $(CS) -Wl,--export-dynamic $(CFLAGS) $(STD_LD_FLAGS) $(POSIX_THREADS_LIBS) $(PLOTUTILS_LIBS) $(GSL_LIBS) $(CURSES_LIBS) $(SQL_LIBS) $(READLINE_LIBS) -lm -ldl $(LD_FLAGS) -o a68g ++ @$(CC) $(CS) -Wl,--export-dynamic $(CFLAGS) $(STD_LD_FLAGS) $(POSIX_THREADS_LIBS) $(PLOTUTILS_LIBS) $(GSL_LIBS) $(CURSES_LIBS) $(SQL_LIBS) $(READLINE_LIBS) -lm $(LD_FLAGS) -o a68g + $(CS): $(HS) + .c.o: + @echo "compiling $<" +@@ -980,7 +974,7 @@ FLAGS=$(CPPFLAGS) $(STD_CFLAGS) $(POSIX_ all: a68g a68g: $(CS) @echo "building a68g ..." @@ -32,12 +43,3 @@ $(CS): $(HS) .c.o: @echo "compiling $<" -@@ -1142,7 +1142,7 @@ int main (int argc, char **argv) { - printf ("%s", PACKAGE_VERSION); - } - _ACEOF -- gcc pgvers.c -I$SQL_DIR/include -o pgvers -+ gcc pgvers.c -I$LOC_INC -o pgvers - echo "#define A68_PG_VERSION \"`./pgvers`\"" 1>>$CONFIG_FILE - rm pgvers* - else |