pkgsrc/x11/openmotif/patches/patch-ag
jschauma 50603c64bd Make this build and install under Linux:
Do not define USE_BYACC, since not all Linuxen have byacc.  Patch a grammar
file accordingly.  Use -Wl,-rpath flags where necessary.

This should close PR pkg/19860.
2003-05-19 19:43:16 +00:00

31 lines
1 KiB
Text

$NetBSD: patch-ag,v 1.4 2003/05/19 19:43:17 jschauma Exp $
--- config/cf/host.def.orig Mon May 19 14:04:32 2003
+++ config/cf/host.def Mon May 19 14:06:39 2003
@@ -1,17 +1,19 @@
#ifdef BeforeVendorCF
-#define TopLevelProject Motif
-#define ProjectRoot /usr/X11R6
-#define X11ProjectRoot /usr/X11R6
+#define TopLevelProject OpenMotif
+#undef ProjectRoot
+#define ProjectRoot $(PREFIX)
+#undef X11ProjectRoot
+#define X11ProjectRoot $(X11BASE)
#define VirtualBindingsPath $(LIBDIR)/bindings
#define ImportX11 YES
-#define USE_BYACC YES
#define NoMessageCatalog YES
#define ForceNormalLib YES
#define HasVarDirectory NO
-#define DebugLibXm YES
-#define DebugLibMrm YES
-#define DebugLibUil YES
+#define DebugLibXm NO
+#define DebugLibMrm NO
+#define DebugLibUil NO
#define LexLib -lfl
+#define BuildMotifDemos NO
#endif /* BeforeVendorCF */