summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjtb <jtb>2001-01-29 02:48:10 +0000
committerjtb <jtb>2001-01-29 02:48:10 +0000
commit270afbab9f55254eeda288b7796a3823a2e14764 (patch)
treef6127b454ac731031526cf5b09ddac15cc3e751f /misc
parent487ecf0132ca31804bc1a84dc6735e734ef1d9ce (diff)
downloadpkgsrc-270afbab9f55254eeda288b7796a3823a2e14764.tar.gz
Use BSD_INSTALL_*.
Diffstat (limited to 'misc')
-rw-r--r--misc/proj/files/patch-sum5
-rw-r--r--misc/proj/patches/patch-aa19
-rw-r--r--misc/proj/patches/patch-ab13
3 files changed, 26 insertions, 11 deletions
diff --git a/misc/proj/files/patch-sum b/misc/proj/files/patch-sum
index fa20ea25bb8..fee57041359 100644
--- a/misc/proj/files/patch-sum
+++ b/misc/proj/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2001/01/20 02:18:02 jtb Exp $
+$NetBSD: patch-sum,v 1.2 2001/01/29 02:48:10 jtb Exp $
-MD5 (patch-aa) = 6cda9a0f9ec9903ceb295ee9734b2838
+MD5 (patch-aa) = 1aa01aedd0f46f876746c16e7d29b581
+MD5 (patch-ab) = 57e0dc68fbea31e91b2e94a73fe20bd2
diff --git a/misc/proj/patches/patch-aa b/misc/proj/patches/patch-aa
index 20e4aefc531..421bf60a01f 100644
--- a/misc/proj/patches/patch-aa
+++ b/misc/proj/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2001/01/29 02:48:11 jtb Exp $
--- src/Makefile.in.orig Sun Sep 24 17:07:52 1995
+++ src/Makefile.in
@@ -17,7 +17,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
SHELL = /bin/sh
-L = libproj.a
-+L = libproj
++L = libproj.la
.PRECIOUS: $L
@@ -107,7 +107,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
-proj: $(PROJ.o) $L
- $(CC) -o $@ $(PROJ.o) $L $(LIBS)
+proj: $(PROJ) $L
-+ $(LIBTOOL) --mode=link $(CC) -o $@ $(PROJ:.o=.lo) $L.la $(LIBS)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(PROJ:.o=.lo) $L $(LIBS)
-NAD2NAD.o = nad2nad.o nad_cvt.o nad_init.o nad_intr.o emess.o
+NAD2NAD = nad2nad.o nad_cvt.o nad_init.o nad_intr.o emess.o
@@ -115,7 +115,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
-nad2nad: $(NAD2NAD.o) $L
- $(CC) -o $@ $(NAD2NAD.o) $L $(LIBS)
+nad2nad: $(NAD2NAD) $L
-+ $(LIBTOOL) --mode=link $(CC) -o $@ $(NAD2NAD:.o=.lo) $L.la $(LIBS)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(NAD2NAD:.o=.lo) $L $(LIBS)
nad2nad: nad_list.h
@@ -126,9 +126,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
-RLIB = $L(pj_release.o)
+RLIB = pj_release.o
- libproj: $(RLIB) $(LLIST) $(PJ_ADDL)
+-libproj: $(RLIB) $(LLIST) $(PJ_ADDL)
- $(RANLIB) $L
-+ $(LIBTOOL) --mode=link $(CC) -O -o libproj.la \
++libproj.la: $(RLIB) $(LLIST) $(PJ_ADDL)
++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ \
+ $(RLIB:.o=.lo) $(LLIST:.o=.lo) $(PJ_ADDL:.o=.lo) -lm \
+ -rpath $(libdir) --version-info 0:0
@@ -138,7 +139,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
-geod: $(GEOD.o) $L
- $(CC) -o $@ $(GEOD.o) $L $(LIBS)
+geod: $(GEOD) $L
-+ $(LIBTOOL) --mode=link $(CC) -o $@ $(GEOD:.o=.lo) $L.la $(LIBS)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(GEOD:.o=.lo) $L $(LIBS)
install: all
- cp proj geod nad2nad $(bindir)
@@ -148,9 +149,9 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/01/20 02:18:04 jtb Exp $
- cp libproj.a $(libdir)
- chmod 644 $(libdir)/libproj.a
- $(RANLIB) $(libdir)/libproj.a
-+ $(LIBTOOL) --mode=install install -c libproj.la $(libdir)
++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $L $(libdir)
+ @for i in proj geod nad2nad ; do \
-+ c="$(LIBTOOL) --mode=install install -c $$i $(bindir)" ; \
++ c="$(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) $$i $(bindir)" ; \
+ echo $$c; $$c; \
+ done
diff --git a/misc/proj/patches/patch-ab b/misc/proj/patches/patch-ab
new file mode 100644
index 00000000000..312378ad4ed
--- /dev/null
+++ b/misc/proj/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2001/01/29 02:48:11 jtb Exp $
+
+--- configure.orig Mon Jan 29 02:46:23 2001
++++ configure
+@@ -128,7 +128,7 @@
+ # Save the original args to write them into config.status later.
+ configure_args="$*"
+
+-PROGS="libproj proj geod nad2nad nad2bin"
++PROGS="libproj.la proj geod nad2nad nad2bin"
+ LIB_DIR="proj.4"
+ if test -z "$RANLIB"; then
+ # Extract the first word of `ranlib', so it can be a program name with args.