]> git.pld-linux.org Git - packages/xfig.git/commitdiff
- patches from RH for xfig.
authorkloczek <kloczek@pld-linux.org>
Thu, 8 Jul 1999 01:33:49 +0000 (01:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xfig-config.patch -> 1.1

xfig-config.patch [new file with mode: 0644]

diff --git a/xfig-config.patch b/xfig-config.patch
new file mode 100644 (file)
index 0000000..ac4dab3
--- /dev/null
@@ -0,0 +1,115 @@
+--- xfig.3.2.2/Imakefile.config        Thu Jul  2 13:37:09 1998
++++ xfig.3.2.2/Imakefile       Tue Jul  7 11:48:14 1998
+@@ -23,7 +23,7 @@
+ XCOMM by putting the word "XCOMM" in front of it.  Be sure to make a new
+ XCOMM Makefile after that ("make Makefile").
+-#define USEGIF true
++XCOMM #define USEGIF true
+ XCOMM If don't want to use JPEG, comment out the following line
+@@ -40,7 +40,7 @@
+ #ifdef USEJPEG
+ #ifdef USEINSTALLEDJPEG
+-JPEGLIBDIR = /usr/local/lib
++JPEGLIBDIR = /usr/lib
+ #else
+ JPEGLIBDIR = ../jpeg
+ #endif
+@@ -54,7 +54,7 @@
+ XCOMM Uncomment the following definition for XAWLIB if you want to use
+ XCOMM the 3d Athena Widget Set (highly recommended!)
+-XCOMM XAWLIB = -lXaw3d
++XAWLIB = -lXaw3d
+ XCOMM Uncomment the following if needed for DECstations running older X11R4
+ XCOMM INCROOT=/usr/include/mit
+@@ -70,12 +70,12 @@
+ XCOMM Change XPMLIBS if necessary to point to the xpm library (libXpm)
+ XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
+-XCOMM #define USEXPM
+-XCOMM #define USEXPM_ICON
++#define USEXPM
++#define USEXPM_ICON
+ #ifdef USEXPM
+ XPMLIBDIR = $(USRLIBDIR)
+-XPMINC = -I$(INCDIR)
++XPMINC = -I$(INCDIR)/X11
+ XPMLIBS = -L$(XPMLIBDIR) -lXpm
+ #endif
+@@ -101,7 +101,7 @@
+ XCOMM inline functions. With the "INLINE" keyword, you should notice that
+ XCOMM the display will be a bit faster in complex figures
+-XCOMM USEINLINE = -DUSE_INLINE
++USEINLINE = -DUSE_INLINE
+ XCOMM use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory
+@@ -169,7 +169,7 @@
+ #ifdef USEJPEG
+ #ifdef USEINSTALLEDJPEG
+-JPEGINCDIR = -I/usr/include/X11
++JPEGINCDIR = -I/usr/include
+ JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
+ #else
+ JPEGCONF = configure
+@@ -316,35 +316,35 @@
+ install::
+       @echo Copying PDF documentation to $(XFIGLIBDIR)
+       @(cd Doc ; \
+-      $(INSTALL) -c xfig-howto.pdf $(XFIGLIBDIR) ; \
+-      $(INSTALL) -c xfig.pdf $(XFIGLIBDIR) ; \
++      $(INSTALL) -c xfig-howto.pdf $(DESTDIR)/$(XFIGLIBDIR) ; \
++      $(INSTALL) -c xfig.pdf $(DESTDIR)/$(XFIGLIBDIR) ; \
+       echo Copying html files to $(XFIGLIBDIR)/html ; \
+-      if [ -d $(XFIGLIBDIR)/html ]; then set +x; \
+-         else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html ); fi ; \
+-      (cd html ; $(INSTALL) -c *.* $(XFIGLIBDIR)/html ; ) ;\
++      if [ -d $(DESTDIR)/$(XFIGLIBDIR)/html ]; then set +x; \
++         else (set -x; $(MKDIRHIER) $(DESTDIR)/$(XFIGLIBDIR)/html ); fi ; \
++      (cd html ; $(INSTALL) -c *.* $(DESTDIR)/$(XFIGLIBDIR)/html ; ) ;\
+       echo "  Copying japanese html files" ; \
+-      if [ -d $(XFIGLIBDIR)/html/japanese ]; then set +x; \
+-         else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/japanese ); fi ; \
+-      (cd html/japanese ; $(INSTALL) -c * $(XFIGLIBDIR)/html/japanese ; ) ; \
++      if [ -d $(DESTDIR)/$(XFIGLIBDIR)/html/japanese ]; then set +x; \
++         else (set -x; $(MKDIRHIER) $(DESTDIR)/$(XFIGLIBDIR)/html/japanese ); fi ; \
++      (cd html/japanese ; $(INSTALL) -c * $(DESTDIR)/$(XFIGLIBDIR)/html/japanese ; ) ; \
+       echo "  Copying image files for html" ; \
+-      if [ -d $(XFIGLIBDIR)/html/images ]; then set +x; \
+-         else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/images ); fi ; \
+-      (cd html/images ; $(INSTALL) -c * $(XFIGLIBDIR)/html/images ; ) ; \
++      if [ -d $(DESTDIR)/$(XFIGLIBDIR)/html/images ]; then set +x; \
++         else (set -x; $(MKDIRHIER) $(DESTDIR)/$(XFIGLIBDIR)/html/images ); fi ; \
++      (cd html/images ; $(INSTALL) -c * $(DESTDIR)/$(XFIGLIBDIR)/html/images ; ) ; \
+       ) ;
+       @echo "Copying Fig Object Libraries"
+       @(cd Examples/Libraries ; \
+       for d in * ;  do \
+           (cd $$d ; \
+-          if [ -d $(OBJLIBDIR)/$$d ]; then set +x; \
+-              else (set -x; $(MKDIRHIER) $(OBJLIBDIR)/$$d ); fi ; \
++          if [ -d $(DESTDIR)/$(OBJLIBDIR)/$$d ]; then set +x; \
++              else (set -x; $(MKDIRHIER) $(DESTDIR)/$(OBJLIBDIR)/$$d ); fi ; \
+           echo "  Copying $$d library files to $(OBJLIBDIR)/$$d" ; \
+           for f in * ;  do \
+               if [ -d $$f ]; then ( \
+                   echo "    Copying files to $(OBJLIBDIR)/$$d/$$f" ; \
+                   if [ -d $(OBJLIBDIR)/$$d/$$f ]; then set +x; \
+-                      else (set -x; $(MKDIRHIER) $(OBJLIBDIR)/$$d/$$f ); fi ; \
+-                  cd $$f ; $(INSTALL) -c * $(OBJLIBDIR)/$$d/$$f ); \
+-              else ($(INSTALL) -c $$f $(OBJLIBDIR)/$$d ) ; fi ; \
++                      else (set -x; $(MKDIRHIER) $(DESTDIR)/$(OBJLIBDIR)/$$d/$$f ); fi ; \
++                  cd $$f ; $(INSTALL) -c * $(DESTDIR)/$(OBJLIBDIR)/$$d/$$f ); \
++              else ($(INSTALL) -c $$f $(DESTDIR)/$(OBJLIBDIR)/$$d ) ; fi ; \
+           done ) ; \
+       done ; ) ;
This page took 0.041962 seconds and 4 git commands to generate.