Use REPLACE_INTERPRETER instead of a patch.

This commit is contained in:
Geert Hendrickx 2006-03-09 15:29:38 +00:00 committed by Thomas Klausner
parent ca1b88e03e
commit 5111d61105
9 changed files with 23 additions and 36 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2006/03/09 15:24:09 ghen Exp $
# $NetBSD: Makefile,v 1.6 2006/03/09 15:29:38 ghen Exp $
DISTNAME= DarwinStreamingSrvr${DSS_VERSION}
PKGNAME= DarwinStreamingServer-${DSS_VERSION}
@ -17,8 +17,8 @@ DSS_VERSION= 5.5
PKG_INSTALLATION_TYPES= overwrite pkgviews
REPLACE_INTERPRETER+= bash
_REPLACE.bash.old= */bin/bash
_REPLACE.bash.new= ${SH}
_REPLACE.bash.old= /bin/bash
_REPLACE.bash.new= ${SH:Q}
_REPLACE_FILES.bash= Install
RESTRICTED= Under APSL (see http://www.opensource.apple.com/apsl/).

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.2 2006/02/17 21:09:19 rillig Exp $
$NetBSD: distinfo,v 1.3 2006/03/09 15:29:38 ghen Exp $
SHA1 (DarwinStreamingSrvr5.5-Source.tar) = f7e4d5e0793dd78fc768d71cd5249867c9123e17
RMD160 (DarwinStreamingSrvr5.5-Source.tar) = 06283c281321a468ffd8c24e4f88d9dfcaed3653
@ -14,7 +14,7 @@ SHA1 (patch-ah) = c699baddac5fce4e974a0b2b992545255c6e9d05
SHA1 (patch-ai) = e2d174cac6568725343443e1fc01545a5c984655
SHA1 (patch-aj) = 3e5dd1ecf1892677937424966a6825735290f62d
SHA1 (patch-ak) = 351c35db68160fbdf8492885c4ad05269e3efe13
SHA1 (patch-al) = 17f0eb0249961a4b352c83ecc6eb2c3d94bb632b
SHA1 (patch-al) = a2fb8fffccdcec0ddfeebf81142110405e4e2dca
SHA1 (patch-am) = 9c60374c55c3102744c43225da56ed06d844e3b9
SHA1 (patch-an) = 91248634b1ab3e1961ce800183d965b45bd686dd
SHA1 (patch-ao) = 271167cb450f6fe4bc81b4e9705ea4c6069d72c6

View file

@ -1,13 +1,7 @@
$NetBSD: patch-al,v 1.2 2006/02/17 21:09:19 rillig Exp $
$NetBSD: patch-al,v 1.3 2006/03/09 15:29:39 ghen Exp $
--- Install.orig 2005-05-27 09:55:01.000000000 +0000
+++ Install 2005-12-19 13:06:08.000000000 +0000
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Install script for the Darwin Streaming Server
# source release
@@ -16,6 +16,7 @@
if [ $USERID = 0 ]; then

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2005/07/27 16:25:57 thomasklausner Exp $
# $NetBSD: Makefile,v 1.8 2006/03/09 15:29:39 ghen Exp $
#
DISTNAME= # defined
@ -20,10 +20,15 @@ LINUX_USE_X11= yes
NO_SRC_ON_CDROM= "I'm not sure if we can redistribute it"
NO_BIN_ON_CDROM= ${NO_SRC_ON_CDROM}
REPLACE_INTERPRETER+= bash
_REPLACE.bash.old= /bin/bash
_REPLACE.bash.new= ${SH:Q}
_REPLACE_FILES.bash= k3_open_update_2/install.sh
post-extract:
cd ${WRKDIR}/kylix3_open && ${TAR} -xzvf runimage.tar.gz
post-patch:
do-configure:
cd ${WRKDIR}/k3_open_update_2 && ./install.sh ${WRKDIR}/kylix3_open/runimage/kylix
TARGET_DIR= ${EMULOPTDIR}/kylix

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2003/11/29 03:22:56 mpasternak Exp $
$NetBSD: distinfo,v 1.2 2006/03/09 15:29:39 ghen Exp $
SHA1 (k3_open_update_2.tar.gz) = 3d686a70318529a6aad3c37f0702240366adf6a4
Size (k3_open_update_2.tar.gz) = 220257 bytes
SHA1 (kylix3_open.tar.gz) = 95e4a6d257bfdab7f948a870416ac48f1100becc
Size (kylix3_open.tar.gz) = 95138460 bytes
SHA1 (patch-aa) = 0c0b782c6439605cca84df9f7e177ecc55ca071e
SHA1 (patch-aa) = 146137ce8e2e7efb6862cb601e8f74fee5c9d241

View file

@ -1,13 +1,7 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/11/29 03:22:56 mpasternak Exp $
$NetBSD: patch-aa,v 1.2 2006/03/09 15:29:39 ghen Exp $
--- k3_open_update_2/install.sh.orig Sat Aug 24 02:01:40 2002
+++ k3_open_update_2/install.sh Sat Nov 29 04:17:20 2003
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#########################################################
# KYLIX 3 PATCH SCRIPT #
@@ -19,19 +19,7 @@

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/12/30 14:06:44 ghen Exp $
# $NetBSD: Makefile,v 1.2 2006/03/09 15:29:39 ghen Exp $
DISTNAME= wings-0.98.29b
CATEGORIES= graphics
@ -19,6 +19,11 @@ SUBST_SED.paths= -e 's,%%LOCALBASE%%,${LOCALBASE},'
ESDL_VERSION= 0.95.0630
ESDL_PATH= ${LOCALBASE}/lib/erlang/lib/esdl-${ESDL_VERSION}
REPLACE_INTERPRETER+= bash
_REPLACE.bash.old= /bin/bash
_REPLACE.bash.new= ${SH:Q}
_REPLACE_FILES.bash= tools/wings_reduce_otp
post-build:
cd ${WRKSRC} && ${SETENV} ESDL_PATH=${ESDL_PATH} unix/make_installer

View file

@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2005/12/30 14:06:44 ghen Exp $
$NetBSD: distinfo,v 1.2 2006/03/09 15:29:39 ghen Exp $
SHA1 (wings-0.98.29b.tar.bz2) = f94bd16ad397334f16301d6e61058a39258dedff
RMD160 (wings-0.98.29b.tar.bz2) = 2fee90cd1b7de353c5f2cad9034e14d792542efe
Size (wings-0.98.29b.tar.bz2) = 777152 bytes
SHA1 (patch-aa) = 11fc8006b791523e1520f147f2e73cb0255fff5b
SHA1 (patch-ab) = c2cd4f3a6eb98ed3214caeac19eb73f70d2e2e1d
SHA1 (patch-ac) = 137a987f747a0c5de17144935999e5b5ac064f4a

View file

@ -1,10 +0,0 @@
$NetBSD: patch-ab,v 1.1.1.1 2005/12/30 14:06:45 ghen Exp $
--- tools/wings_reduce_otp.orig 2004-10-29 17:50:15.000000000 +0200
+++ tools/wings_reduce_otp
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Reduce size of OTP by removing beam files that are not needed.
#