Skip to content

Commit

Permalink
Honor CPPFLAGS.
Browse files Browse the repository at this point in the history
  • Loading branch information
msk committed Sep 18, 2004
1 parent e124fff commit fb62413
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions fonts/ttmkfdir2/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.5 2004/04/28 00:10:04 recht Exp $
$NetBSD: distinfo,v 1.6 2004/09/18 07:55:31 minskim Exp $

SHA1 (ttmkfdir2.20021109.tar.bz2) = bee1944ce3e5b6c4503a14e6429737cc558a24c0
Size (ttmkfdir2.20021109.tar.bz2) = 701900 bytes
SHA1 (patch-aa) = b87eb0d1076674e18ac80840b97e73bfb265d9cb
SHA1 (patch-aa) = ae2cb207635678d68d010e54de6ad6905fc3e38b
SHA1 (patch-ab) = 5c7e936fead9551b2b206abb512a9bbdcaadd101
SHA1 (patch-ac) = c29cd845647d67102a89476d931e5ee6bae63078
SHA1 (patch-ad) = 0c328908ffae3397293ff6b00094444e23164788
Expand Down
14 changes: 10 additions & 4 deletions fonts/ttmkfdir2/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.2 2004/04/03 11:31:02 recht Exp $
$NetBSD: patch-aa,v 1.3 2004/09/18 07:55:31 minskim Exp $

--- Makefile.orig 2002-11-07 06:28:44.000000000 +0100
--- Makefile.orig Wed Nov 6 23:28:44 2002
+++ Makefile
@@ -1,12 +1,9 @@
@@ -1,25 +1,22 @@
-FREETYPE_BASE=/usr/include/freetype2
-FREETYPE_INCL=-I$(FREETYPE_BASE)/.
-FREETYPE_LIB=/usr/lib/libfreetype.so
Expand All @@ -20,7 +20,13 @@ $NetBSD: patch-aa,v 1.2 2004/04/03 11:31:02 recht Exp $

.PHONY: clean

@@ -19,7 +16,7 @@ ttmkfdir: ttmkfdir.o directory.o command
all: ttmkfdir

.cpp.o:
- libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^
+ libtool --mode=compile $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $^

ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o
libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS)

parser.cpp: encoding.l
Expand Down

0 comments on commit fb62413

Please sign in to comment.