Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 00:48:17 +0200 (SAT)
From:      reg@shale.csir.co.za
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9819: Port fix: ncurses
Message-ID:  <199901302248.AAA90449@shale.csir.co.za>

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

>Number:         9819
>Category:       ports
>Synopsis:       Port fix: ncurses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 30 14:50:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Lea
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Arb's Inc.
>Environment:

	FreeBSD Ports collection

>Description:

	The logs on bento show this ports isn't packaging after my last
	changes.  This patch adds patch-ac to stop the port trying to gzip
	the man pages (which seems to be failing).  Also, fix a little
	booper in patch-aa.

>How-To-Repeat:

	

>Fix:
	
	
diff -urN ncurses.old/Makefile ncurses/Makefile
--- ncurses.old/Makefile	Wed Jan 27 09:41:09 1999
+++ ncurses/Makefile	Fri Jan 29 18:04:26 1999
@@ -41,7 +41,6 @@
 	ncurses.3x panel.3x resizeterm.3x wresize.3x
 MAN5=	terminfo.5 term.5
 MAN7=	term.7
-MANCOMPRESSED=	yes
 
 MANUAL_PACKAGE_BUILD=	conflicts with system ncurses
 GNU_CONFIGURE=		yes
diff -urN ncurses.old/patches/patch-aa ncurses/patches/patch-aa
--- ncurses.old/patches/patch-aa	Tue Jan 26 04:49:37 1999
+++ ncurses/patches/patch-aa	Fri Jan 29 17:41:14 1999
@@ -28,7 +28,7 @@
 +	freebsd*)
 +		CC_SHARED_OPTS='-fpic -DPIC'
 +		if [ `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` = elf ]; then
-+			MK_SHARED_LIB='$(LD) -Bshareable -o $@.$(ABI_VERSION)'
++			MK_SHARED_LIB='$(LD) -Bshareable -soname ${@:T}.$(ABI_VERSION) -o $@.$(ABI_VERSION)'
 +			cf_cv_do_symlinks=yes
 +		else
 +			MK_SHARED_LIB='$(LD) -Bshareable -o $@'
diff -urN ncurses.old/patches/patch-ac ncurses/patches/patch-ac
--- ncurses.old/patches/patch-ac	Thu Jan  1 02:00:00 1970
+++ ncurses/patches/patch-ac	Fri Jan 29 18:08:19 1999
@@ -0,0 +1,16 @@
+--- man/edit_man.sh.orig	Fri Jan 29 18:07:37 1999
++++ man/edit_man.sh	Fri Jan 29 18:07:58 1999
+@@ -27,13 +27,6 @@
+ 	source=`basename $i`
+ 	target=$mandir/man${section}/$source
+ 	sed -e "s,@DATADIR@,$datadir," < $i >$TMP
+-	if test $verb = installing ; then
+-	if ( gzip -f $TMP )
+-	then
+-		mv $TMP.gz $TMP
+-	fi
+-	fi
+-	target="$target.gz"
+ 	echo $verb $target
+ 	if test $verb = installing ; then
+ 		$INSTALL_DATA $TMP $target

>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?199901302248.AAA90449>