Hi ports --

Here's a fix for ee after the Libcompat fallout. What this patch does is use our curses instead of ee's included subset of curses. While the code says to prefer the included subset of curses over local curses, I don't see a reason why that should be.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/ee/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile	17 May 2013 13:13:51 -0000	1.13
+++ Makefile	5 Dec 2013 23:04:31 -0000
@@ -5,6 +5,7 @@ COMMENT=		easy to use text editor
 VERSION=		1.5.2
 DISTNAME=		ee-${VERSION}.src
 PKGNAME=		ee-${VERSION}
+REVISION=		0
 EPOCH=			0
 CATEGORIES=		editors
 
@@ -14,7 +15,7 @@ MAINTAINER=		Brian Callahan <bcallah@ope
 # BSD-like
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=		c
+WANTLIB=		c curses
 
 MASTER_SITES=		http://devio.us/~bcallah/source/
 EXTRACT_SUFX=		.tgz
Index: patches/patch-create_make
===================================================================
RCS file: /cvs/ports/editors/ee/patches/patch-create_make,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-create_make
--- patches/patch-create_make	15 Jan 2006 01:01:29 -0000	1.2
+++ patches/patch-create_make	5 Dec 2013 23:04:31 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-create_make,v 1.2 2006/01/15 01:01:29 brad Exp $
 --- create.make.orig	Mon Sep 23 00:18:30 2002
-+++ create.make	Sat Jan 14 19:47:28 2006
++++ create.make	Thu Dec  5 18:02:06 2013
 @@ -11,6 +11,11 @@
  
  name_string="`uname`"
@@ -13,6 +13,17 @@ $OpenBSD: patch-create_make,v 1.2 2006/0
  # test for existence of termcap (exists on both BSD and SysV systems)
  
  if [ -f /etc/termcap -o -f /usr/share/lib/termcap -o -f /usr/share/misc/termcap ]
+@@ -180,8 +185,8 @@ then
+ 	TARGET="curses"
+ 	curses=""
+ else
+-	curses="-DNCURSE"
+-	TARGET="ee"
++	curses="-DHAS_NCURSES"
++	TARGET="curses"
+ fi
+ 
+ if [ -z "$termio" -a -z "$sgtty" ]
 @@ -257,7 +262,7 @@ then
  	mv make.local make.lcl.old
  fi
@@ -27,7 +38,7 @@ $OpenBSD: patch-create_make,v 1.2 2006/0
  
  curses :	ee.c
 -	cc ee.c -o ee \$(CFLAGS) -lcurses 
-+	\$(CC) ee.c -o ee \$(CFLAGS) -lcurses 
++	\$(CC) ee.c -o ee \$(DEFINES) \$(CFLAGS) -lcurses 
  
  ee :	ee.o new_curse.o
 -	cc -o ee ee.o new_curse.o \$(CFLAGS) 

Reply via email to