Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 15:14:13 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9113: Update port: editors/hexedit
Message-ID:  <199812171214.PAA19854@icc.surw.chel.su>

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

>Number:         9113
>Category:       ports
>Synopsis:       Update port: editors/hexedit
>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:   Thu Dec 17 04:20:00 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

>Description:

   This is a patch to update editors/hexedit port.


diff -Nru hexedit/Makefile hexedit-1.0.0/Makefile
--- hexedit/Makefile	Fri Oct  9 10:18:13 1998
+++ hexedit-1.0.0/Makefile	Thu Dec 17 18:22:14 1998
@@ -1,30 +1,34 @@
 # New ports collection makefile for:	hexedit
-# Version required:			0.9.3
+# Version required:			1.0.0
 # Date created:				5 August 1998
 # Whom:					Andrey Zakhvatov
 #
-# $Id: Makefile,v 1.3 1998/10/09 10:05:49 asami Exp $
+# $Id: Makefile,v 1.1.1.1 1998/08/10 00:31:40 steve Exp $
 #
 
-DISTNAME=	hexedit-0.9.3
-CATEGORIES=	editors
-MASTER_SITES=	http://www.chez.com/prigaux/
-EXTRACT_SUFX=	.src.tgz
+DISTNAME=		hexedit-1.0.0
+CATEGORIES=		editors
+MASTER_SITES=		http://www.chez.com/prigaux/ \
+			${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR=	utils/file/hex
+EXTRACT_SUFX=		.src.tgz
 
-MAINTAINER=	andy@icc.surw.chel.su
+MAINTAINER=		andy@icc.surw.chel.su
 
-LIB_DEPENDS=	ncurses.4:${PORTSDIR}/devel/ncurses
+LIB_DEPENDS=		ncurses\\.4\\.:${PORTSDIR}/devel/ncurses
 
-MANUAL_PACKAGE_BUILD=	depends on ncurses
+GNU_CONFIGURE=		yes
 
 ALL_TARGET=
-WRKSRC=		${WRKDIR}/hexedit
+WRKSRC=			${WRKDIR}/hexedit
 
-MAN1=		hexedit.1
+MAN1=			hexedit.1
 
 do-install:
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${PREFIX}/bin
 	@ ${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${PREFIX}/man/man1
+
+post-install:
 .if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/hexedit
 .for file in COPYING Changes TODO
diff -Nru hexedit/files/md5 hexedit-1.0.0/files/md5
--- hexedit/files/md5	Mon Aug 10 00:31:40 1998
+++ hexedit-1.0.0/files/md5	Thu Dec 17 17:45:22 1998
@@ -1 +1 @@
-MD5 (hexedit-0.9.3.src.tgz) = 81268b02efee3786c91eb30778fe8afc
+MD5 (hexedit-1.0.0.src.tgz) = cbf49bfa81f0e3c779b46c9cbe4266b7
diff -Nru hexedit/patches/patch-aa hexedit-1.0.0/patches/patch-aa
--- hexedit/patches/patch-aa	Mon Aug 10 00:31:40 1998
+++ hexedit-1.0.0/patches/patch-aa	Thu Dec 17 18:10:29 1998
@@ -1,19 +1,11 @@
---- Makefile	Sun Jul 26 14:10:26 1998
-+++ /home/andy/tmp/wrk/Makefile	Wed Aug  5 15:44:32 1998
-@@ -1,14 +1,14 @@
- PROJECT	= hexedit
- VERSION = 0.9.3
+--- Makefile.in	Sat Sep 12 08:25:05 1998
++++ /home/andy/tmp/wrk/Makefile.in	Thu Dec 17 18:09:35 1998
+@@ -25,7 +25,7 @@
+ .SUFFIXES: .c .o
  
--CC=gcc
-+#CC=gcc
- TARSOURCE = $(PROJECT)-$(VERSION).src.tgz
- DYNAMICBIN = $(PROJECT)-$(VERSION).bin.i386.dynamic.tgz
- HTMLSITE = $(PROJECT)-html-site.tar
- HTMLFILES = $(PROJECT).html
- TMPFILES = $(DYNAMICBIN) $(TARSOURCE) $(HTMLFILES)
+ .c.o:
+-	$(CC) $(DEFS) $(CFLAGS) -c $<
++	$(CC) $(DEFS) $(CFLAGS) -I@prefix@/include -I@prefix@/include/ncurses -c $<
  
--CFLAGS = -Wall -O2
-+CFLAGS+= -I/usr/local/include/ncurses -I/usr/local/include -L/usr/local/lib -lncurses
- LOADLIBES = -lcurses
+ all: $(PRODUCT)
  
- .PHONY: clean tgz docs
diff -Nru hexedit/patches/patch-ab hexedit-1.0.0/patches/patch-ab
--- hexedit/patches/patch-ab	Thu Jan  1 00:00:00 1970
+++ hexedit-1.0.0/patches/patch-ab	Thu Dec 17 18:11:31 1998
@@ -0,0 +1,29 @@
+--- configure	Thu Sep 10 15:32:03 1998
++++ /home/andy/tmp/wrk/configure	Thu Dec 17 18:09:41 1998
+@@ -782,14 +782,14 @@
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ 
+ 
+-echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
+-echo "configure:787: checking for initscr in -lcurses" >&5
++echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
++echo "configure:787: checking for initscr in -lncurses" >&5
+ ac_lib_var=`echo curses'_'initscr | 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="-lcurses  $LIBS"
++LIBS="-lncurses  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 795 "configure"
+ #include "confdefs.h"
+@@ -817,7 +817,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+-  LIBS="$LIBS -lcurses"
++  LIBS="$LIBS -lncurses"
+ else
+   echo "$ac_t""no" 1>&6
+ echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.

>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?199812171214.PAA19854>