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
This commit is contained in:
Daniel Eischen 2011-04-10 18:33:26 +00:00
parent 8952e2a0ba
commit ebb0445a70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272476
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -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