From e96ddbd652e50bf03b6cadb08310a7d3437c57e5 Mon Sep 17 00:00:00 2001
From: deischen <deischen@FreeBSD.org>
Date: Sun, 10 Apr 2011 18:33:26 +0000
Subject: Allow nedit to build against newer versions of open-motif. Add
 license clause (GPLv1).  Update MASTER_SITES.

Submitted by:	Mikhail T. (m dot tsatsenko at gmail dot com)
PR:		156170
---
 editors/nedit/Makefile       | 7 +++++++
 editors/nedit/files/patch-ac | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

(limited to 'editors')

diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 878b5a02f29a..5d7f1ca563fd 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -13,11 +13,18 @@ MASTER_SITES=	ftp://ftp.nedit.org/pub/NEdit/v5_5/ \
 		ftp://ftp.nedit.org/pub/NEdit/contrib/misc/ \
 		http://www.nedit.org/ftp/v5_5/ \
 		http://www.nedit.org/ftp/contrib/misc/
+MASTER_SITES=	ftp://ftp.nluug.nl/pub/editors/NEdit/v5_5/ \
+		ftp://ftp.nluug.nl/pub/editors/NEdit/contrib/misc/ \
+		ftp://cri.univ-tlse1.fr/pub/unix/nedit/NEdit/v5_5/ \
+		ftp://cri.univ-tlse1.fr/pub/unix/nedit/NEdit/contrib/misc/ \
+		http://www.nedit.org/ftp/v5_5/ \
+		http://www.nedit.org/ftp/contrib/misc/
 DISTFILES=	nedit-5.5-src.tar.bz2 nedit.app-defaults
 EXTRACT_ONLY=	nedit-5.5-src.tar.bz2
 
 MAINTAINER=	deischen@FreeBSD.org
 COMMENT=	An X11/Motif GUI text editor for programs and plain text files
+LICENSE=	GPLv1
 
 USE_BZIP2=	yes
 USE_MOTIF=	yes
diff --git a/editors/nedit/files/patch-ac b/editors/nedit/files/patch-ac
index 032e2a103580..ee6893bd2899 100644
--- a/editors/nedit/files/patch-ac
+++ b/editors/nedit/files/patch-ac
@@ -15,7 +15,7 @@
  #
 -CFLAGS=-O -I${PREFIX}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
 -LIBS= ${MOTIFLIB} -L${PREFIX}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
-+CFLAGS+=-O -I${LOCALBASE}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
++CFLAGS+=-O -I${LOCALBASE}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM -DBUILD_UNTESTED_NEDIT
 +LIBS+= ${MOTIFLIB} -L${LOCALBASE}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
  
  include Makefile.common
-- 
cgit