openbsd-ports/x11/ctwm/patches/patch-Imakefile
matthieu 5accad0feb Remove useless XPM{INC,LIB}DIR patch, which got mangled by a
definition of X11R6 as a cpp macro.
ok sthen@
2012-09-17 10:25:11 +00:00

27 lines
667 B
Plaintext

--- Imakefile.orig Tue Dec 11 16:38:52 2001
+++ Imakefile Sun Sep 2 19:01:07 2012
@@ -11,7 +11,7 @@ XCOMM
#undef USE_SOUND
#define XPM
#define USEM4
-#undef X11R6
+#define X11R6
#undef I18N
YFLAGS = -d
@@ -145,14 +145,6 @@ depend:: lex.c gram.c deftwmrc.c
NormalLibraryTarget(ctwm, libctwm.o)
ComplexProgramTarget(ctwm)
InstallNonExecFile(system.ctwmrc,$(TWMDIR))
-#ifdef XPM
-install:: xpm
- MakeDir($(DESTDIR)$(TWMDIR)/images)
- @case '${MFLAGS}' in *[i]*) set +e;; esac; \
- for i in xpm/?* ; do \
- (set -x; $(INSTALL) -c $(INSTLIBFLAGS) $$i $(DESTDIR)$(TWMDIR)/images); \
- done
-#endif
gram.h gram.c: gram.y
$(YACC) $(YFLAGS) gram.y