diff options
-rw-r--r-- | multimedia/tovid/Makefile | 2 | ||||
-rw-r--r-- | multimedia/tovid/files/patch-src_tovid-init.in | 35 |
2 files changed, 36 insertions, 1 deletions
diff --git a/multimedia/tovid/Makefile b/multimedia/tovid/Makefile index 43c5cdaf79a9..db4777583c53 100644 --- a/multimedia/tovid/Makefile +++ b/multimedia/tovid/Makefile @@ -7,7 +7,7 @@ PORTNAME= tovid PORTVERSION= 0.30 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tovid diff --git a/multimedia/tovid/files/patch-src_tovid-init.in b/multimedia/tovid/files/patch-src_tovid-init.in new file mode 100644 index 000000000000..06264e95ee83 --- /dev/null +++ b/multimedia/tovid/files/patch-src_tovid-init.in @@ -0,0 +1,35 @@ +--- src/tovid-init.in.orig 2007-08-12 10:09:50.000000000 -0500 ++++ src/tovid-init.in 2007-08-12 10:10:37.000000000 -0500 +@@ -386,32 +386,6 @@ + + + # ****************************************************************************** +-# Find multiple version kludge +-# ****************************************************************************** +-INSTALLED_TOVIDS=$(type -a tovid 2>>/dev/null | awk '{print $NF}' | tr '\n' ' ') +-NUM_INSTALLED=0 +- +-# Only count non-links +-for tovid in $INSTALLED_TOVIDS; do +- if ! test -L $tovid; then +- let "NUM_INSTALLED=NUM_INSTALLED+1" +- fi +-done +- +-# Exit when there is more than one tovid installed +-if test $NUM_INSTALLED -ne 1; then +- echo "Found $NUM_INSTALLED installations of tovid on your system!" +- echo "I won't run until there is only one of me :)" +- echo "Installed versions:" +- for version in $INSTALLED_TOVIDS; do +- echo " $version" +- done +- echo "Exiting..." +- exit 1 +-fi +- +- +-# ****************************************************************************** + # tovid home setup + # ****************************************************************************** + |