pkgsrc/fonts/pcf2bdf/patches/patch-ab
grant f8abd2eec8 - don't override compiler variables
- don't gcc specific flags
2004-06-15 13:35:20 +00:00

30 lines
621 B
Text

$NetBSD: patch-ab,v 1.2 2004/06/15 13:35:20 grant Exp $
--- Makefile.gcc.orig 2002-10-21 03:17:00.000000000 +1000
+++ Makefile.gcc
@@ -1,16 +1,20 @@
# Makefile for pcf2bdf (gcc) -*- makefile -*-
-CC = gcc
-CFLAGS = -Wall -O2
-CXX = $(CC)
-CXXFLAGS = $(CFLAGS)
-PREFIX = /usr/local
+#CC = gcc
+#CFLAGS = -Wall -O2
+#CXX = g++
+#CXXFLAGS = $(CFLAGS)
+#PREFIX = /usr/local
BINPATH = $(PREFIX)/bin
MANPATH = $(PREFIX)/man/man1
all: pcf2bdf
pcf2bdf: pcf2bdf.o
+ ${CXX} -o pcf2bdf pcf2bdf.o
+
+pcf2bdf.o: pcf2bdf.cc
+ ${CXX} ${CXXFLAGS} -c pcf2bdf.cc
clean:
-$(RM) pcf2bdf pcf2bdf.exe pcf2bdf.o *~