Date: Wed, 9 Feb 2000 16:52:58 +0100 (MET) From: xaa@timewasters.nl To: FreeBSD-gnats-submit@freebsd.org Subject: ports/16611: Upgrade libslang Message-ID: <20000209155258.3AB1EBAAD@eeyore.local.dohd.cx>
next in thread | raw e-mail | index | archive | help
>Number: 16611 >Category: ports >Synopsis: upgrade of port >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 9 08:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mark Huizer >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: >Description: Upgrade to 1.4.0 >How-To-Repeat: >Fix: apply patch: diff -udr ../devel/libslang/Makefile libslang/Makefile --- ../devel/libslang/Makefile Mon Jan 3 08:50:05 2000 +++ libslang/Makefile Wed Feb 9 15:41:30 2000 @@ -1,15 +1,15 @@ # New ports collection makefile for: S-Lang library -# Version required: 1.3.10 +# Version required: 1.4.0 # Date created: 11 July 1996 # Whom: ache # # $FreeBSD: ports/devel/libslang/Makefile,v 1.17 1999/12/29 21:35:41 steve Exp $ # -DISTNAME= slang-1.3.10 -PKGNAME= libslang-1.3.10 +DISTNAME= slang-1.4.0 +PKGNAME= libslang-1.4.0 CATEGORIES= devel -MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.3/ +MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ MAINTAINER= xaa+ports@timewasters.nl diff -udr ../devel/libslang/files/md5 libslang/files/md5 --- ../devel/libslang/files/md5 Mon Jan 3 08:50:05 2000 +++ libslang/files/md5 Wed Feb 9 15:58:30 2000 @@ -1 +1 @@ -MD5 (slang-1.3.10.tar.bz2) = 884d276a366cd634583ed3190ae737a3 +MD5 (slang-1.4.0.tar.bz2) = 2d450be2e24a035e4bac2ed185b8c09c diff -udr ../devel/libslang/patches/patch-aa libslang/patches/patch-aa --- ../devel/libslang/patches/patch-aa Mon Jan 3 08:50:05 2000 +++ libslang/patches/patch-aa Wed Feb 9 16:19:41 2000 @@ -1,9 +1,29 @@ ---- configure.orig Sun Nov 14 07:20:57 1999 -+++ configure Thu Dec 23 11:26:42 1999 -@@ -2152,33 +2152,24 @@ +--- configure.orig Sun Jan 9 20:38:14 2000 ++++ configure Wed Feb 9 16:18:35 2000 +@@ -1865,6 +1865,19 @@ + ELF_LINK_CMD="\$(ELF_LINK)\$(ELFLIB_MAJOR)" + fi + ;; ++ *freebsd* ) ++ if [ $PORTOBJFORMAT = elf ]; then ++ ELF_CC="\$(CC)" ++ ELF_CFLAGS="\$(CFLAGS) -fPIC" ++ ELF_LINK="\$(CC) -shared -Wl,-soname,\$(ELFLIB_MAJOR)" ++ ELF_LINK_CMD="\$(ELF_LINK)" ++ else ++ ELF_CC="\$(CC)" ++ ELF_CFLAGS="\$(CFLAGS) -fPIC" ++ ELF_LINK="ld -Bshareable -x" ++ ELF_LINK_CMD="\$(ELF_LINK)" ++ fi ++ ;; + * ) + echo "Note: ELF compiler for host_os=$host_os may be wrong" + ELF_CC="\$(CC)" +@@ -2181,16 +2194,8 @@ echo $ac_n "checking SLANG_VERSION""... $ac_c" 1>&6 - echo "configure:2155: checking SLANG_VERSION" >&5 + echo "configure:2184: checking SLANG_VERSION" >&5 -slang_version=`grep "^#define *SLANG_VERSION " $srcdir/src/slang.h | - awk '{ print $3 }'` -slang_major_version=`echo $slang_version | @@ -14,34 +34,8 @@ - awk '{ print ($1 - $2*10000 - $3*100) }'` - -slang_minor_version="$slang_minor_version.$slang_mminor_version" --slang_version="$slang_major_version.$slang_minor_version" +slang_major_version=1 -+slang_minor_version=3 ++slang_minor_version=4 + slang_version="$slang_major_version.$slang_minor_version" echo "$ac_t""$slang_version" 1>&6 - - - - - --if test "$GCC" = yes; then -- ELF_CC="gcc" -- ELF_CFLAGS="-O2 -fno-strength-reduce -fPIC" -- ELF_LINK="gcc -shared -Wl,-soname#" -- ELF_LINK_CMD="\$(ELF_LINK),\$(ELFLIB_MAJOR)" -+if [ $PORTOBJFORMAT = elf ]; then -+ELF_CC="\$(CC)" -+ELF_CFLAGS="\$(CFLAGS) -fPIC" -+ELF_LINK="\$(CC) -shared -Wl,-soname,\$(ELFLIB_MAJOR)" -+ELF_LINK_CMD="\$(ELF_LINK)" - else -- ELF_CC="cc" -- ELF_CFLAGS="-K pic" -- ELF_LINK="ld -G -z text" -- ELF_LINK_CMD="\$(ELF_LINK)" -+ELF_CC="\$(CC)" -+ELF_CFLAGS="\$(CFLAGS) -fPIC" -+ELF_LINK="ld -Bshareable -x" -+ELF_LINK_CMD="\$(ELF_LINK)" - fi - >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000209155258.3AB1EBAAD>