From owner-freebsd-ports Wed Jan 6 05:14:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA14777 for freebsd-ports-outgoing; Wed, 6 Jan 1999 05:14:07 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA14451; Wed, 6 Jan 1999 05:13:46 -0800 (PST) (envelope-from andy@icc.surw.chel.su) Received: (from andy@localhost) by icc.surw.chel.su (8.8.8/8.8.8) id QAA04191; Wed, 6 Jan 1999 16:09:03 +0300 (MSK) (envelope-from andy) From: Andrey Zakhvatov Message-Id: <199901061309.QAA04191@icc.surw.chel.su> Subject: Re: ports/9121 In-Reply-To: <199812241602.IAA23777@freefall.freebsd.org> from Seiichirou Hiraoka at "Dec 24, 1998 8: 2:32 am" To: flathill@FreeBSD.ORG (Seiichirou Hiraoka) Date: Wed, 6 Jan 1999 16:09:03 +0300 (MSK) Cc: freebsd-ports@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, > Can't make this port. > Required library ncurses marked BROKEN. > Please fix it first. Try this patch: diff -Nru hexedit/Makefile hexedit-1.0.0/Makefile --- hexedit/Makefile Fri Oct 9 10:18:13 1998 +++ hexedit-1.0.0/Makefile Fri Dec 18 16:31:36 1998 @@ -1,30 +1,32 @@ # 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 - -MANUAL_PACKAGE_BUILD= depends on ncurses +USE_AUTOCONF= 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 Fri Dec 18 16:00:47 1998 @@ -1,19 +1,14 @@ ---- 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 - --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) - --CFLAGS = -Wall -O2 -+CFLAGS+= -I/usr/local/include/ncurses -I/usr/local/include -L/usr/local/lib -lncurses - LOADLIBES = -lcurses - - .PHONY: clean tgz docs +--- hexedit.h.orig Mon Aug 31 20:50:50 1998 ++++ hexedit.h Sun Dec 6 15:36:13 1998 +@@ -12,7 +12,11 @@ + #if HAVE_UNISTD_H + #include + #endif ++#if HAVE_NCURSES_H ++#include ++#else + #include ++#endif + #include + #include + #if HAVE_SYS_WAIT_H 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 Fri Dec 18 16:01:10 1998 @@ -0,0 +1,16 @@ +--- configure.in.orig Thu Sep 10 17:23:35 1998 ++++ configure.in Sun Dec 6 15:31:53 1998 +@@ -23,10 +23,11 @@ + AC_PROG_INSTALL + + dnl Checks for libraries. +-AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses", +-AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses")) ++AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses", ++AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses")) + + dnl Checks for header files. ++AC_CHECK_HEADER(ncurses.h, [AC_DEFINE(HAVE_NCURSES_H)]) + AC_HEADER_STDC + AC_HEADER_SYS_WAIT + AC_CHECK_HEADERS(fcntl.h unistd.h) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message