summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authoragc <agc>2003-07-03 14:40:49 +0000
committeragc <agc>2003-07-03 14:40:49 +0000
commit5c0c53ec8c0607bf7d14538ab47b5fbb1921c9aa (patch)
tree60f405ba1b830f3537b4b6fde56ac2bbd2c4146a /mbone
parent0afd1e89d9086ea03ca1417a6c3ef4aed2f187e8 (diff)
downloadpkgsrc-5c0c53ec8c0607bf7d14538ab47b5fbb1921c9aa.tar.gz
Avoid hardcoding /usr/pkg in this package, pointed out by Julio Merino
Diffstat (limited to 'mbone')
-rw-r--r--mbone/sdr/Makefile7
-rw-r--r--mbone/sdr/distinfo4
-rw-r--r--mbone/sdr/patches/patch-ad4
3 files changed, 10 insertions, 5 deletions
diff --git a/mbone/sdr/Makefile b/mbone/sdr/Makefile
index ae4b3ccaf94..e1fd4c3f9ff 100644
--- a/mbone/sdr/Makefile
+++ b/mbone/sdr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2003/03/29 12:41:47 jmmv Exp $
+# $NetBSD: Makefile,v 1.36 2003/07/03 14:40:49 agc Exp $
#
DISTNAME= sdr-3.0
@@ -35,6 +35,11 @@ SYSDIR= freebsd
USE_GMAKE= yes
+post-patch:
+ ${MV} ${WRKSRC}/../src/sdr.tcl ${WRKSRC}/../src/sdr.tcl.in && \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/../src/sdr.tcl.in > \
+ ${WRKSRC}/../src/sdr.tcl
+
do-configure:
cd ${WRKSRC} ; ${SH} ./configure
.if ${OPSYS} == "SunOS"
diff --git a/mbone/sdr/distinfo b/mbone/sdr/distinfo
index 7485093a66b..a1e819271f4 100644
--- a/mbone/sdr/distinfo
+++ b/mbone/sdr/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2003/05/06 07:42:10 seb Exp $
+$NetBSD: distinfo,v 1.4 2003/07/03 14:40:49 agc Exp $
SHA1 (sdr-3.0.tar.gz) = b411aa168ce35348af898f54a2588b62810a1d83
Size (sdr-3.0.tar.gz) = 304691 bytes
SHA1 (patch-aa) = 13be7ff0bffb042654e82ea6a02ab826c82f3c64
SHA1 (patch-ab) = b96c341745f8b6f060c39326d3f3853079be6bda
SHA1 (patch-ac) = a8b18c0c548284f417c07d12e64957225bc455a6
-SHA1 (patch-ad) = 337decefd454e4421e3b07fc95dceaf1dfa290f0
+SHA1 (patch-ad) = be6bdb0a757746befe22dfda684f8e03464b411d
SHA1 (patch-ae) = 092a76dbbd92bdaef07c2ee8994d191654087642
diff --git a/mbone/sdr/patches/patch-ad b/mbone/sdr/patches/patch-ad
index 3c73abf03d8..d7548c1e9b9 100644
--- a/mbone/sdr/patches/patch-ad
+++ b/mbone/sdr/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.10 2000/12/17 09:39:53 hubertf Exp $
+$NetBSD: patch-ad,v 1.11 2003/07/03 14:40:49 agc Exp $
--- ../src/sdr.tcl.orig Mon Sep 4 18:30:39 2000
+++ ../src/sdr.tcl
@@ -15,7 +15,7 @@ $NetBSD: patch-ad,v 1.10 2000/12/17 09:39:53 hubertf Exp $
$app_home/sdr/plugins \
$app_home/plugins \
$app_home/../plugins \
-+ /usr/pkg/etc/sdr/plugins \
++ @PREFIX@/etc/sdr/plugins \
/usr/local/etc/sdr/plugins \
[resource sdrHome]/plugins \
]