diff options
author | keith <keith@FreeBSD.org> | 2001-01-30 14:18:07 +0000 |
---|---|---|
committer | keith <keith@FreeBSD.org> | 2001-01-30 14:18:07 +0000 |
commit | 1af4d9122e09cb86129687bb013b1378b01bf9e4 (patch) | |
tree | d984d6bf3cbaa631a5e059a8db8e6ed9c6147106 /chinese | |
parent | c92c851a1e8db2450ffc0e52cdc6c46227e7e891 (diff) | |
download | FreeBSD-ports-1af4d9122e09cb86129687bb013b1378b01bf9e4.zip FreeBSD-ports-1af4d9122e09cb86129687bb013b1378b01bf9e4.tar.gz |
Drop gmake dependency during build.
Submitted by: kevlo, modified by me to respect CFLAGS.
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/bg5ps/Makefile | 1 | ||||
-rw-r--r-- | chinese/bg5ps/files/patch-aa | 36 |
2 files changed, 17 insertions, 20 deletions
diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile index 0d79877..35fbe48 100644 --- a/chinese/bg5ps/Makefile +++ b/chinese/bg5ps/Makefile @@ -13,7 +13,6 @@ DISTNAME= bg5ps-1.3.0 MAINTAINER= keith@FreeBSD.org -USE_GMAKE= yes USE_FREETYPE= yes USE_PYTHON= yes diff --git a/chinese/bg5ps/files/patch-aa b/chinese/bg5ps/files/patch-aa index 1f63ef7..74dae73 100644 --- a/chinese/bg5ps/files/patch-aa +++ b/chinese/bg5ps/files/patch-aa @@ -1,34 +1,32 @@ ---- Makefile.orig Thu Nov 2 22:44:32 2000 -+++ Makefile Thu Nov 2 22:47:11 2000 -@@ -21,11 +21,13 @@ +--- Makefile.orig Tue Feb 15 04:41:27 2000 ++++ Makefile Tue Jan 30 22:01:34 2001 +@@ -19,21 +19,22 @@ + + CC = gcc INSTALL = install - CFLAGS = +-CFLAGS = ++CFLAGS += -I${LOCALBASE}/include LIBS = -lttf -lm -INCLUDEDIR = -+LIBSDIR = -L/usr/local/lib -+INCLUDEDIR = -I/usr/local/include ++LIBSDIR = -L${LOCALBASE}/lib -prefix = /usr -+ -+prefix = /usr/local - BINDIR = $(prefix)/bin +-BINDIR = $(prefix)/bin -ETCDIR = /etc/chinese/ -+ETCDIR = /usr/local/etc/etc ++ ++PREFIX?= /usr/local ++BINDIR = $(PREFIX)/bin ++ETCDIR = $(PREFIX)/etc all: ttf2psm -@@ -33,12 +35,12 @@ - $(CC) -c $(CFLAGS) $(INCLUDEDIR) $< -o $@ + %.o : %.c +- $(CC) -c $(CFLAGS) $(INCLUDEDIR) $< -o $@ ++ $(CC) -c $(CFLAGS) $< -o $@ ttf2psm: $(OBJS) - $(CC) $(CFLAGS) $(INCLUDEDIR) $(LIBS) -o ttf2psm $(OBJS) -+ $(CC) $(CFLAGS) $(INCLUDEDIR) $(LIBSDIR) $(LIBS) -o ttf2psm $(OBJS) ++ $(CC) $(CFLAGS) $(LIBSDIR) $(LIBS) -o ttf2psm $(OBJS) install: all bg5ps bg5ps.conf mkdir -p $(ETCDIR) - mkdir -p $(BINDIR) -- $(INSTALL) -m644 bg5ps.conf $(ETCDIR)/bg5ps.conf -+ $(INSTALL) -m644 bg5ps.conf $(ETCDIR)/bg5ps.conf.sample - $(INSTALL) -m755 bg5ps $(BINDIR) - $(INSTALL) -m755 ttf2psm $(BINDIR) - |