- properly detect 'convert', it used to return '0' after --version,

but now it returns '1', which upset the test.

from brad
This commit is contained in:
jasper 2012-06-13 11:12:06 +00:00
parent 072de78ddf
commit 3bc35990ad
2 changed files with 3 additions and 12 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2012/04/21 08:39:13 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2012/06/13 11:12:06 jasper Exp $
COMMENT = collection of perl scripts to manage your iPod
DISTNAME = gnupod-0.99.8
PKGNAME = p5-${DISTNAME}
REVISION = 3
REVISION = 4
CATEGORIES = audio
HOMEPAGE = http://www.gnu.org/software/gnupod/

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure,v 1.1 2011/06/01 00:04:16 sthen Exp $
$OpenBSD: patch-configure,v 1.2 2012/06/13 11:12:06 jasper Exp $
--- configure.orig Tue Aug 4 01:49:56 2009
+++ configure Mon May 30 13:44:37 2011
@@ -1872,7 +1872,7 @@ echo " done"
@ -10,12 +10,3 @@ $OpenBSD: patch-configure,v 1.1 2011/06/01 00:04:16 sthen Exp $
if test $? = 0; then
echo "found!"
ENCS="mpeg4 $ENCS"
@@ -1884,7 +1884,7 @@ ffmpeg -formats 2>&1|egrep " aac" > /dev/null
echo $ECHO_N "checking for ImageMagick..."
convert --version > /dev/null 2>&1
- if test $? = 0; then
+ if test $? = 1; then
echo "found!"
IMAGIC="Yes"
else