diff options
Diffstat (limited to 'graphics/GMT/patches/patch-an')
-rw-r--r-- | graphics/GMT/patches/patch-an | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/GMT/patches/patch-an b/graphics/GMT/patches/patch-an new file mode 100644 index 00000000000..8d9c5f05172 --- /dev/null +++ b/graphics/GMT/patches/patch-an @@ -0,0 +1,30 @@ +$NetBSD: patch-an,v 1.1 2001/01/27 08:16:01 jtb Exp $ + +--- src/gshhs/makefile.orig Sat Jan 27 03:10:36 2001 ++++ src/gshhs/makefile +@@ -12,19 +12,19 @@ + all: gshhs gshhs_dp + + install: all +- $(INSTALL) gshhs$(EXE) $(bindir) +- $(INSTALL) gshhs_dp$(EXE) $(bindir) ++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) gshhs$(EXE) $(bindir) ++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) gshhs_dp$(EXE) $(bindir) + + clean: +- \rm -f *.o *% gshhs$(EXE) gshhs_dp$(EXE) ++ \rm -f *.o *.lo .libs *% gshhs$(EXE) gshhs_dp$(EXE) + + spotless: clean + + gshhs: gshhs.o +- $(CC) $(CFLAGS) gshhs.o $(LIBS) $(LDFLAGS) -o gshhs ++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) gshhs.lo $(LIBS) $(LDFLAGS) -o $@ + + gshhs_dp: gshhs_dp.o +- $(CC) $(CFLAGS) gshhs_dp.o $(LIBS) $(LDFLAGS) -o gshhs_dp ++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) gshhs_dp.lo $(LIBS) $(LDFLAGS) -o $@ + + .c.o: +- $(CC) -c $(CFLAGS) $< ++ $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< |