aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-11 05:34:10 +0800
committerarved <arved@FreeBSD.org>2002-11-11 05:34:10 +0800
commitfc76a5dc189ee7f64bcae250d835e4a97b7b50cb (patch)
tree49ed4a2ee4e987ebcf1cecd9450e5b035ec127b7
parentd2addcb43cd24b15a5df2b6d07af18183f62e575 (diff)
downloadfreebsd-ports-gnome-fc76a5dc189ee7f64bcae250d835e4a97b7b50cb.tar.gz
freebsd-ports-gnome-fc76a5dc189ee7f64bcae250d835e4a97b7b50cb.tar.zst
freebsd-ports-gnome-fc76a5dc189ee7f64bcae250d835e4a97b7b50cb.zip
Update to 1.4.6
PR: 44713 Submitted by: Sergei Kolobov <sergei@kolobov.com> Approved by: Mark Huizer <xaa@timewasters.nl> (maintainer)
-rw-r--r--devel/libslang/Makefile4
-rw-r--r--devel/libslang/distinfo2
-rw-r--r--devel/libslang/files/patch-aa73
3 files changed, 20 insertions, 59 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index e83b41c4e1fd..cc675986657f 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= libslang
-PORTVERSION= 1.4.5
+PORTVERSION= 1.4.6
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/
DISTNAME= slang-${PORTVERSION}
-MAINTAINER= xaa+ports@madison-gurkha.com
+MAINTAINER= xaa+ports@timewasters.nl
USE_BZIP2= yes
GNU_CONFIGURE= yes
diff --git a/devel/libslang/distinfo b/devel/libslang/distinfo
index 3c931e587d39..93029917f589 100644
--- a/devel/libslang/distinfo
+++ b/devel/libslang/distinfo
@@ -1 +1 @@
-MD5 (slang-1.4.5.tar.bz2) = 380f5d0c306b70125a110f54814e26a3
+MD5 (slang-1.4.6.tar.bz2) = a69e9ba14f975d9be85af135017d98f1
diff --git a/devel/libslang/files/patch-aa b/devel/libslang/files/patch-aa
index b30064568f0b..673d83d1975c 100644
--- a/devel/libslang/files/patch-aa
+++ b/devel/libslang/files/patch-aa
@@ -1,67 +1,28 @@
---- configure.orig Sun Feb 10 08:39:19 2002
-+++ configure Sun Feb 17 18:24:45 2002
-@@ -1832,8 +1832,8 @@
- #define HAVE_DLFCN_H 1
- EOF
-
-- echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
--echo "configure:1837: checking for dlopen in -ldl" >&5
-+ echo $ac_n "checking for dlopenl""... $ac_c" 1>&6
-+echo "configure:1837: checking for dlopen" >&5
- ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-@@ -1868,7 +1868,7 @@
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-- DYNAMIC_LINK_LIB="-ldl"
-+ DYNAMIC_LINK_LIB=""
- cat >> confdefs.h <<\EOF
- #define HAVE_DLOPEN 1
- EOF
-@@ -1943,7 +1943,7 @@
-
- ELFLIB="lib\$(THIS_LIB).so"
- ELFLIB_MAJOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)"
--ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION).\$(ELF_MINOR_VERSION)"
-+ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)"
-
- case "$host_os" in
- *linux* )
-@@ -2038,7 +2038,7 @@
- ELF_CFLAGS="$CFLAGS -fPIC"
- ELF_LINK="$CC -shared"
- ELF_LINK_CMD="\$(ELF_LINK)"
-- ELF_DEP_LIBS="\$(DL_LIB) -lm -lc"
-+ ELF_DEP_LIBS="\$(DL_LIB) -lm"
- CC_SHARED="$CC $CFLAGS -shared -fPIC"
- esac
-
-@@ -2063,6 +2063,19 @@
- IEEE_CFLAGS="-ieee_with_no_inexact"
- fi
- ;;
-+ *freebsd* )
+--- configure.orig Wed Oct 30 03:37:23 2002
++++ configure Wed Oct 30 03:56:57 2002
+@@ -2033,6 +2033,18 @@
+ ELFLIB_MAJOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).dylib"
+ ELFLIB_MAJOR_MINOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).\$(ELF_MINOR_VERSION).dylib"
+ ;;
++ *freebsd* )
++ ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)"
++ ELF_CC="\$(CC)"
++ ELF_CFLAGS="\$(CFLAGS) -fPIC"
+ 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
++ ELF_LINK_CMD="\$(ELF_LINK)"
++ ELF_DEP_LIBS="\$(DL_LIB) -lm"
+ ;;
* )
- IEEE_CFLAGS=""
- esac
-@@ -2432,16 +2445,8 @@
+ echo "Note: ELF compiler for host_os=$host_os may be wrong"
+ ELF_CC="$CC"
+@@ -2438,16 +2489,8 @@
echo $ac_n "checking SLANG_VERSION""... $ac_c" 1>&6
- echo "configure:2435: checking SLANG_VERSION" >&5
+ echo "configure:2441: checking SLANG_VERSION" >&5
-slang_version=`grep "^#define *SLANG_VERSION " $srcdir/src/slang.h |
- awk '{ print $3 }'`
-slang_major_version=`echo $slang_version |
@@ -73,7 +34,7 @@
-
-slang_minor_version="$slang_minor_version.$slang_mminor_version"
+slang_major_version=1
-+slang_miner_version=5
++slang_minor_version=5
slang_version="$slang_major_version.$slang_minor_version"
echo "$ac_t""$slang_version" 1>&6