openbsd-ports/x11/xfstt/patches/patch-Makefile
naddy 0559a1c577 - C++ fixes for gcc3
- really honor CXX
- regen patches
2002-09-30 14:47:24 +00:00

27 lines
723 B
Plaintext

$OpenBSD: patch-Makefile,v 1.4 2002/09/30 14:47:24 naddy Exp $
--- Makefile.orig Mon May 31 08:28:44 1999
+++ Makefile Mon Sep 30 16:44:57 2002
@@ -2,16 +2,16 @@
MISCOPT =
OPT = $(MISCOPT) $(MAXOPT)
-CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG
+CFLAGS += -DMAGNIFY=0 -DNDEBUG
#CFLAGS = -fprofile-arcs -ftest-coverage -DMAGNIFY=0
-CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0
+#CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0
#CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT)
-LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11
-LFLAGS = -g -L/usr/X11R6/lib
+#LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11
+LFLAGS = -L${X11BASE}/lib
-CC = c++
-LD = c++
+CC = ${CXX}
+LD = ${CXX}
OBJS = RAFile.o \
TTFont.o \