pkgsrc/graphics/GMT/patches/patch-an
wennmach 11f5afe35b Update GMT to the most recent, supported, version 4.1.4.
The most significant changes in 4.0 include:

o Time-series support
o New Tools:
	- gmt2rgb
	- grdblend
	- pslegend:
o 30 new program options
o More than 23 general enhancements

The releases 4.1 and 4.1.1 to 4.1.4 include the following changes:
o numerous significant bug fixes
o many added program options
o added features and capabilities

For a complete list of changes, see
http://gmt.soest.hawaii.edu/gmt/gmt_releases.html
2006-11-14 13:16:00 +00:00

32 lines
964 B
Text

$NetBSD: patch-an,v 1.4 2006/11/14 13:16:00 wennmach Exp $
Libtoolize.
--- src/gshhs/makefile.orig Sat Jan 27 03:10:36 2001
+++ src/gshhs/makefile
@@ -13,19 +13,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 *% 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) $(CPPFLAGS) -c $(CFLAGS) $<