openbsd-ports/x11/ttmkfdir/patches/patch-Makefile

22 lines
563 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2004/02/12 01:32:03 kevlo Exp $
--- Makefile.orig 2004-02-11 17:04:40.000000000 +0000
+++ Makefile 2004-02-11 17:05:49.000000000 +0000
@@ -1,12 +1,9 @@
-FREETYPE_BASE=/usr/include/freetype2
-FREETYPE_INCL=-I$(FREETYPE_BASE)/.
-FREETYPE_LIB=/usr/lib/libfreetype.so
-
-DEBUG=-ggdb
-CXX=g++
-CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG)
+FREETYPE_INCL=`freetype-config --cflags`
+FREETYPE_LIB=`freetype-config --libs`
-LDFLAGS=$(FREETYPE_LIB) $(DEBUG)
+CXXFLAGS+=$(FREETYPE_INCL)
+
+LDFLAGS+=$(FREETYPE_LIB)
.PHONY: clean