diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2007-08-12 15:58:36 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2007-08-12 15:58:36 +0000 |
commit | eae540764e95cdd57d8ed21ba30e420c368adad4 (patch) | |
tree | 1e048ffa02051973fb397fa8bf7509e1960a1322 /multimedia | |
parent | a689aeac0f68d495f379feb81fbf49def8a8ec52 (diff) | |
download | ports-eae540764e95cdd57d8ed21ba30e420c368adad4.tar.gz ports-eae540764e95cdd57d8ed21ba30e420c368adad4.zip |
Notes
Diffstat (limited to 'multimedia')
-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 + # ****************************************************************************** + |