summaryrefslogtreecommitdiff
path: root/lang/tcl-otcl/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-17 19:49:57 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-17 19:49:57 +0000
commit4e7fda1f14f8af15a7f9c6aa7d47c63d28905bc1 (patch)
tree07791cdceee59005c2ab5bc497a0917d0345cd08 /lang/tcl-otcl/patches
parent79dc4ca5e30bc346484c455ed3c7b68a07651be4 (diff)
downloadpkgsrc-4e7fda1f14f8af15a7f9c6aa7d47c63d28905bc1.tar.gz
DESTDIR support
Diffstat (limited to 'lang/tcl-otcl/patches')
-rw-r--r--lang/tcl-otcl/patches/patch-aa16
1 files changed, 9 insertions, 7 deletions
diff --git a/lang/tcl-otcl/patches/patch-aa b/lang/tcl-otcl/patches/patch-aa
index 4c700ea8053..71fd00d8864 100644
--- a/lang/tcl-otcl/patches/patch-aa
+++ b/lang/tcl-otcl/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2006/09/29 16:28:55 minskim Exp $
+$NetBSD: patch-aa,v 1.5 2009/02/17 19:49:57 joerg Exp $
---- Makefile.in.orig 2006-09-25 05:02:37.000000000 +0000
+--- Makefile.in.orig 2007-03-11 00:11:11.000000000 +0100
+++ Makefile.in
@@ -5,6 +5,7 @@
#
@@ -83,7 +83,7 @@ $NetBSD: patch-aa,v 1.4 2006/09/29 16:28:55 minskim Exp $
test: otclsh owish
./otclsh lib/test.tcl
-@@ -114,12 +103,10 @@ dirs:
+@@ -114,13 +103,11 @@ dirs:
fi;\
done
@@ -93,13 +93,15 @@ $NetBSD: patch-aa,v 1.4 2006/09/29 16:28:55 minskim Exp $
- $(INSTALL) libotcl.a $(INST_OLIB)
- $(RANLIB) $(INST_OLIB)/libotcl.a
- $(INSTALL) libotcl$(SHLIB_SUFFIX) $(INST_OLIBSH)
+- $(INSTALL) -m 644 otcl.h $(INST_OINC)
+install: owish otclsh libotcl.a otcl.h dirs
-+ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libotcl.la ${PREFIX}/lib
-+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} owish $(INST_OWISH)
-+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} otclsh $(INST_OTCLSH)
- $(INSTALL) -m 644 otcl.h $(INST_OINC)
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libotcl.la ${DESTDIR}${PREFIX}/lib
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} owish ${DESTDIR}$(INST_OWISH)
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} otclsh ${DESTDIR}$(INST_OTCLSH)
++ $(INSTALL) -m 644 otcl.h ${DESTDIR}$(INST_OINC)
clean:
+ rm -f owish otclsh libotcl.a libotcl$(SHLIB_SUFFIX) \
@@ -154,7 +141,7 @@ srctar:
depend: $(CFILES)