ports/astro/xmoontool/files/patch-Makefile
Alexey Dokuchaev 52cad4515c - Unbreak the build with LIBNOVA option disabled (we
do not have /usr/X11R6 for quite a long time)
- Move the options block lower within the Makefile
- Add missing USE_XORG as reported by `stage-qa'
- Provide sensible description for LIBNOVA option
- Remove MONOCHROME option: the program does not run
  properly with it ("Fatal Error! No visuals that we
  can use") and monochrome mode can be enabled by
  launching it with `-m' switch
- Convert to option helpers, use INSTALL_DATA for
  installing documentation files, not INSTALL_MAN
2018-01-11 11:50:06 +00:00

18 lines
410 B
Text

--- Makefile.orig 2006-02-24 22:00:24 UTC
+++ Makefile
@@ -6,11 +6,11 @@
RMCMD?= rm -f
INSTALL?= install
LOCALBASE?= /usr/local
-X11BASE?= /usr/X11R6
+X11BASE?= $(LOCALBASE)
-CC= gcc
-CFLAGS= -O2 -Wall
-LDFLAGS= -lXm -lXt -lX11 -lm
+#CC= gcc
+#CFLAGS= -O2 -Wall
+LDFLAGS+= -lXm -lXt -lX11 -lm
DEFINES?= -DDEFAULT_COLOR
ALL_CFLAGS= $(CFLAGS) $(DEFINES) -I$(X11BASE)/include -L$(X11BASE)/lib