Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 10:11:17 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/14901: Update port: archivers/lzo
Message-ID:  <19991115181117.80F7D14A05@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14901
>Category:       ports
>Synopsis:       Update port: archivers/lzo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 10:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.3-RELEASE i386
>Organization:
>Environment:
>Description:
* Fixed MASTER_SITES
* Removed CONFIGURE_ARGS line set as default
* Fixed some files to respect CFLAGS properly

New file:
patches/patch-ac

Remove file:
patches/patch-aa  patches/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/archivers/lzo/Makefile archivers/lzo/Makefile
--- /usr/ports/archivers/lzo/Makefile	Sun Sep  5 21:07:47 1999
+++ archivers/lzo/Makefile	Sat Nov 13 11:41:42 1999
@@ -9,14 +9,13 @@
 DISTNAME=	lzo-1.04
 CATEGORIES=	archivers devel
 MASTER_SITES= 	${MASTER_SITE_SUNSITE} \
-		ftp://wildsau.idv.uni-linz.ac.at/pub/mfx/lzo/
+		http://wildsau.idv.uni-linz.ac.at/mfx/lzo-download/
 MASTER_SITE_SUBDIR=	libs/compression
 
 MAINTAINER=	ports@FreeBSD.org
 
 USE_LIBTOOL=	yes
-CONFIGURE_ARGS+= 	--enable-shared=yes \
-  			--enable-asm=yes
+
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/share/doc/lzo
diff -urN /usr/ports/archivers/lzo/patches/patch-aa archivers/lzo/patches/patch-aa
--- /usr/ports/archivers/lzo/patches/patch-aa	Wed Apr 21 05:22:44 1999
+++ archivers/lzo/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,26 +0,0 @@
---- acconfig/ltconfig.orig	Tue Apr 20 10:07:45 1999
-+++ acconfig/ltconfig	Tue Apr 20 10:09:00 1999
-@@ -776,7 +776,7 @@
-     ;;
- 
-   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
--  freebsd3*)
-+  freebsd*)
-     archive_cmds='$CC -shared -o $lib$libobjs'
-     hardcode_libdir_flag_spec='-R$libdir'
-     hardcode_direct=yes
-@@ -1122,10 +1122,11 @@
-   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
-   ;;
- 
--freebsd2* | freebsd3*)
--  version_type=sunos
-+freebsd*)
-+  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
-+  version_type=freebsd-$objformat
-   library_names_spec='${libname}${release}.so.$versuffix $libname.so'
--  finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
-+  finish_cmds="PATH=\"\$PATH:/sbin\" OBJFORMAT=$objformat ldconfig -m \$libdir"
-   shlibpath_var=LD_LIBRARY_PATH
-   ;;
- 
diff -urN /usr/ports/archivers/lzo/patches/patch-ab archivers/lzo/patches/patch-ab
--- /usr/ports/archivers/lzo/patches/patch-ab	Wed Apr 21 05:22:44 1999
+++ archivers/lzo/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,21 +0,0 @@
---- acconfig/ltmain.sh.orig	Tue Apr 20 10:09:57 1999
-+++ acconfig/ltmain.sh	Tue Apr 20 10:10:36 1999
-@@ -967,6 +967,18 @@
-         versuffix="$current.$revision"
-         ;;
- 
-+      freebsd-aout)
-+        version_vars="$version_vars major versuffix"
-+        major="$current"
-+        versuffix="$current.$revision";
-+        ;;
-+
-+      freebsd-elf)
-+        version_vars="$version_vars major versuffix"
-+        major="$current"
-+        versuffix="$current";
-+        ;;
-+
-       *)
-         $echo "$modename: unknown library version type \`$version_type'" 1>&2
-         echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
diff -urN /usr/ports/archivers/lzo/patches/patch-ac archivers/lzo/patches/patch-ac
--- /usr/ports/archivers/lzo/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ archivers/lzo/patches/patch-ac	Sat Nov 13 11:23:57 1999
@@ -0,0 +1,41 @@
+--- configure.orig	Sat Nov 13 11:17:25 1999
++++ configure	Sat Nov 13 11:23:32 1999
+@@ -1141,9 +1141,9 @@
+   if test "$ac_test_CFLAGS" = set; then
+     CFLAGS="$ac_save_CFLAGS"
+   elif test $ac_cv_prog_cc_g = yes; then
+-    CFLAGS="-g -O2"
++    CFLAGS="-g"
+   else
+-    CFLAGS="-O2"
++    CFLAGS=""
+   fi
+ else
+   GCC=
+@@ -3036,7 +3036,7 @@
+ 
+ if test "$ac_cv_prog_gcc" = yes; then
+ mfx_save_cflags="$CFLAGS"
+-CFLAGS="$CFLAGS -O2 -fschedule-insns -fschedule-insns2"
++CFLAGS="$CFLAGS -fschedule-insns -fschedule-insns2"
+ echo $ac_n "checking whether ${CC-cc} suffers the -fschedule-insns bug""... $ac_c" 1>&6
+ echo "configure:3042: checking whether ${CC-cc} suffers the -fschedule-insns bug" >&5
+ if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_schedule_insns'+set}'`\" = set"; then
+@@ -3079,7 +3079,7 @@
+ 
+ if test "$ac_cv_prog_gcc" = yes; then
+ mfx_save_cflags="$CFLAGS"
+-CFLAGS="$CFLAGS -O2 -fstrength-reduce"
++CFLAGS="$CFLAGS -fstrength-reduce"
+ echo $ac_n "checking whether ${CC-cc} suffers the -fstrength-reduce bug""... $ac_c" 1>&6
+ echo "configure:3085: checking whether ${CC-cc} suffers the -fstrength-reduce bug" >&5
+ if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_strength_reduce'+set}'`\" = set"; then
+@@ -3167,7 +3167,7 @@
+ 
+ if test "$GCC" = yes; then
+   M_CC="GCC"
+-  CFLAGS_O="-O2"
++  CFLAGS_O=""
+   CFLAGS_W="-Wall -Wcast-align -Wwrite-strings"
+   case $host in
+     i[34567]86-*)


>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?19991115181117.80F7D14A05>