Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 01:31:35 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53364: [patch][non-maintainer update] fix fetch for misc/pdmenu
Message-ID:  <200306160631.h5G6VZvH019744@lonesome.lonesome.com>
Resent-Message-ID: <200306160630.h5G6U8wW068344@freefall.freebsd.org>

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

>Number:         53364
>Category:       ports
>Synopsis:       [patch][non-maintainer update] fix fetch for misc/pdmenu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 15 23:30:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD-2.0
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	This fixes the fetch (new WWW, nearly year-out-of-date version) but
	not the build.  Perhaps the maintainer can take a look, the message
	makes no sense to me.
>How-To-Repeat:
	read Fenner's distfile survey
>Fix:

diff -ruN pdmenu.dist/Makefile pdmenu/Makefile
--- pdmenu.dist/Makefile	Mon Mar 10 16:59:29 2003
+++ pdmenu/Makefile	Mon Jun 16 01:26:08 2003
@@ -5,12 +5,11 @@
 # $FreeBSD: ports/misc/pdmenu/Makefile,v 1.13 2003/03/07 06:07:14 ade Exp $
 
 PORTNAME=	pdmenu
-PORTVERSION=	1.2.65
+PORTVERSION=	1.2.81
 CATEGORIES=	misc
-# http://kitenet.net is unreachable for a long time now, asked the
-# author and maintaier for a known replacement - edwin 20021227
-MASTER_SITES=	http://kitenet.net/programs/code/pdmenu/
+MASTER_SITES=	http://kitenet.net/programs/pdmenu/
 DISTNAME=	pdmenu_${PORTVERSION}
+BROKEN=		"can't find required slang library or library is obsolete"
 
 MAINTAINER=	nbm@FreeBSD.org
 COMMENT=	A simple console menu program
diff -ruN pdmenu.dist/distinfo pdmenu/distinfo
--- pdmenu.dist/distinfo	Wed Nov  8 19:32:03 2000
+++ pdmenu/distinfo	Mon Jun 16 01:18:04 2003
@@ -1 +1 @@
-MD5 (pdmenu_1.2.65.tar.gz) = a48c6bd9de312eb91a4a6715c100e71e
+MD5 (pdmenu_1.2.81.tar.gz) = ca6a00583508358dec358f2561430298
diff -ruN pdmenu.dist/files/patch-aa pdmenu/files/patch-aa
--- pdmenu.dist/files/patch-aa	Mon Jan 25 20:52:18 1999
+++ pdmenu/files/patch-aa	Wed Dec 31 18:00:00 1969
@@ -1,58 +0,0 @@
---- configure.in.orig	Thu Jan 14 17:49:38 1999
-+++ configure.in	Thu Jan 14 17:50:06 1999
-@@ -36,6 +36,27 @@
- rmdir ./test/test2 2>/dev/null
- rmdir ./test 2>/dev/null
- 
-+dnl If we cannot find terminfo, link with termcap.
-+Terminfo_Dirs="/usr/lib/terminfo \
-+	/usr/share/lib/terminfo \
-+	/usr/local/lib/terminfo"
-+TERMCAP=yes
-+AC_MSG_CHECKING(for terminfo)
-+for terminfo_dir in $Terminfo_Dirs
-+do
-+	if test -d $terminfo_dir; then
-+		AC_MSG_RESULT(found)
-+		TERMCAP=""
-+		break
-+	fi
-+done
-+if test "$TERMCAP"; then
-+	AC_MSG_RESULT(not found)
-+	AC_CHECK_LIB(termcap,tgetent)
-+	# Note that if this fails, we continue and make probably dies with
-+	# an error. Unless terminfo is hiding somewhere else..
-+fi
-+
- dnl Let the user specify an alternate location for the libs.
- dnl I have to add this to CFLAGS, instead of to LIBS, to placate 
- dnl some compiler that wanted -L before -l .
-@@ -96,27 +117,6 @@
- 	fi
- else
- 	AC_MSG_WARN(pdmenu will be built without GPM mouse support.)
--fi
--
--dnl If we cannot find terminfo, link with termcap.
--Terminfo_Dirs="/usr/lib/terminfo \
--	/usr/share/lib/terminfo \
--	/usr/local/lib/terminfo"
--TERMCAP=yes
--AC_MSG_CHECKING(for terminfo)
--for terminfo_dir in $Terminfo_Dirs
--do
--	if test -d $terminfo_dir; then
--		AC_MSG_RESULT(found)
--		TERMCAP=""
--		break
--	fi
--done
--if test "$TERMCAP"; then
--	AC_MSG_RESULT(not found)
--	AC_CHECK_LIB(termcap,tgetent)
--	# Note that if this fails, we continue and make probably dies with
--	# an error. Unless terminfo is hiding somewhere else..
- fi
- 
- AC_CHECK_PROG(DATE_PROG,date,yes,no)
diff -ruN pdmenu.dist/files/patch-ab pdmenu/files/patch-ab
--- pdmenu.dist/files/patch-ab	Fri Sep 10 06:31:33 1999
+++ pdmenu/files/patch-ab	Wed Dec 31 18:00:00 1969
@@ -1,150 +0,0 @@
---- configure.orig	Tue Sep  7 01:19:45 1999
-+++ configure	Fri Sep 10 13:26:38 1999
-@@ -890,6 +890,73 @@
- rmdir ./test/test2 2>/dev/null
- rmdir ./test 2>/dev/null
- 
-+Terminfo_Dirs="/usr/lib/terminfo \
-+	/usr/share/lib/terminfo \
-+	/usr/local/lib/terminfo"
-+TERMCAP=yes
-+echo $ac_n "checking for terminfo""... $ac_c" 1>&6
-+echo "configure:840: checking for terminfo" >&5
-+for terminfo_dir in $Terminfo_Dirs
-+do
-+	if test -d $terminfo_dir; then
-+		echo "$ac_t""found" 1>&6
-+		TERMCAP=""
-+		break
-+	fi
-+done
-+if test "$TERMCAP"; then
-+	echo "$ac_t""not found" 1>&6
-+	echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
-+echo "configure:852: checking for tgetent in -ltermcap" >&5
-+ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
-+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-+  echo $ac_n "(cached) $ac_c" 1>&6
-+else
-+  ac_save_LIBS="$LIBS"
-+LIBS="-ltermcap  $LIBS"
-+cat > conftest.$ac_ext <<EOF
-+#line 860 "configure"
-+#include "confdefs.h"
-+/* Override any gcc2 internal prototype to avoid an error.  */
-+/* We use char because int might match the return type of a gcc2
-+    builtin and then its argument prototype would still apply.  */
-+char tgetent();
-+
-+int main() {
-+tgetent()
-+; return 0; }
-+EOF
-+if { (eval echo configure:871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-+  rm -rf conftest*
-+  eval "ac_cv_lib_$ac_lib_var=yes"
-+else
-+  echo "configure: failed program was:" >&5
-+  cat conftest.$ac_ext >&5
-+  rm -rf conftest*
-+  eval "ac_cv_lib_$ac_lib_var=no"
-+fi
-+rm -f conftest*
-+LIBS="$ac_save_LIBS"
-+
-+fi
-+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-+  echo "$ac_t""yes" 1>&6
-+    ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-+    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
-+  cat >> confdefs.h <<EOF
-+#define $ac_tr_lib 1
-+EOF
-+
-+  LIBS="-ltermcap $LIBS"
-+
-+else
-+  echo "$ac_t""no" 1>&6
-+fi
-+
-+	# Note that if this fails, we continue and make probably dies with
-+	# an error. Unless terminfo is hiding somewhere else..
-+fi
-+
- if test "$SLANG_LIB_LOC" != "" ; then 
- 	CFLAGS="-L$SLANG_LIB_LOC $CFLAGS"
- fi
-@@ -1756,73 +1823,6 @@
- 	fi
- else
- 	echo "configure: warning: pdmenu will be built without GPM mouse support." 1>&2
--fi
--
--Terminfo_Dirs="/usr/lib/terminfo \
--	/usr/share/lib/terminfo \
--	/usr/local/lib/terminfo"
--TERMCAP=yes
--echo $ac_n "checking for terminfo""... $ac_c" 1>&6
--echo "configure:1767: checking for terminfo" >&5
--for terminfo_dir in $Terminfo_Dirs
--do
--	if test -d $terminfo_dir; then
--		echo "$ac_t""found" 1>&6
--		TERMCAP=""
--		break
--	fi
--done
--if test "$TERMCAP"; then
--	echo "$ac_t""not found" 1>&6
--	echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
--echo "configure:1779: checking for tgetent in -ltermcap" >&5
--ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
--if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--  echo $ac_n "(cached) $ac_c" 1>&6
--else
--  ac_save_LIBS="$LIBS"
--LIBS="-ltermcap  $LIBS"
--cat > conftest.$ac_ext <<EOF
--#line 1787 "configure"
--#include "confdefs.h"
--/* Override any gcc2 internal prototype to avoid an error.  */
--/* We use char because int might match the return type of a gcc2
--    builtin and then its argument prototype would still apply.  */
--char tgetent();
--
--int main() {
--tgetent()
--; return 0; }
--EOF
--if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
--  rm -rf conftest*
--  eval "ac_cv_lib_$ac_lib_var=yes"
--else
--  echo "configure: failed program was:" >&5
--  cat conftest.$ac_ext >&5
--  rm -rf conftest*
--  eval "ac_cv_lib_$ac_lib_var=no"
--fi
--rm -f conftest*
--LIBS="$ac_save_LIBS"
--
--fi
--if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
--  echo "$ac_t""yes" 1>&6
--    ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/[^a-zA-Z0-9_]/_/g' \
--    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
--  cat >> confdefs.h <<EOF
--#define $ac_tr_lib 1
--EOF
--
--  LIBS="-ltermcap $LIBS"
--
--else
--  echo "$ac_t""no" 1>&6
--fi
--
--	# Note that if this fails, we continue and make probably dies with
--	# an error. Unless terminfo is hiding somewhere else..
- fi
- 
- # Extract the first word of "date", so it can be a program name with args.
diff -ruN pdmenu.dist/files/patch-ac pdmenu/files/patch-ac
--- pdmenu.dist/files/patch-ac	Sun Oct 20 15:38:35 2002
+++ pdmenu/files/patch-ac	Wed Dec 31 18:00:00 1969
@@ -1,11 +0,0 @@
---- ./autoconf/makeinfo.in.orig	Sun Oct 20 13:39:21 2002
-+++ ./autoconf/makeinfo.in	Sun Oct 20 13:39:28 2002
-@@ -16,7 +16,7 @@
- VER		= @VER@
- DEFINES		= -DETCDIR=\"${SYSCONFDIR}/\" -DVER=\"${VER}\" @DEFS@ \
- 		  $(PROFILE) -D__USE_FIXED_PROTOTYPES__ -D_GNU_SOURCE
--CFLAGS_FOR_GCC	= -Wall -fstrict-prototypes
-+CFLAGS_FOR_GCC	= -Wall
- CFLAGS		= $(DEFINES) @gcc_cflags@ @CFLAGS@
- LIBS		= @LIBS@ $(EFENCE)
- SRCDIR		= src
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306160631.h5G6VZvH019744>