nedit/nedit-5.5CVS-makefiles.patch
Ismail Dönmez f24de0b229 Accepting request 139490 from home:dstoecker
I do an updated nedit version for several years now. It is based on latest CVS which is very slowly evolving and obsoletes most of the patches. I suggest to use this version instead of the current one.

Also it is bad style to link from an non-home-project to a home project. editors/nedit should be the base, not the other way round.

I checked all inbetween changes in the other packages today and I'm pretty sure that this version is more recent in every detail.

OBS-URL: https://build.opensuse.org/request/show/139490
OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=7
2012-11-13 13:37:37 +00:00

19 lines
631 B
Diff

--- nedit-5.5_CVS20071122/makefiles/Makefile.linux.makefiles 2006-10-26 04:20:16.000000000 +0200
+++ nedit-5.5_CVS20071122/makefiles/Makefile.linux 2007-11-22 08:29:38.000000000 +0100
@@ -1,5 +1,5 @@
# $Id: Makefile.linux,v 1.14 2006/10/26 02:20:16 tringali Exp $
-CC=cc
+CC=gcc
AR=ar
# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
@@ -17,7 +17,7 @@
# To test if the Motif library exports the runtime version
# add -DHAVE__XMVERSIONSTRING to CFLAGS
#
-CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
+CFLAGS=-I/usr/X11R6/include $(RPM_OPT_FLAGS) -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
ARFLAGS=-urs