summaryrefslogtreecommitdiff
path: root/textproc/subtitleripper
diff options
context:
space:
mode:
authorwiz <wiz>2014-09-08 21:24:44 +0000
committerwiz <wiz>2014-09-08 21:24:44 +0000
commit66f3143811cd5b69e9aca06e7866c19a48e9a1ab (patch)
tree2b063d79b8b09365244193b66b3664f742846298 /textproc/subtitleripper
parent9b82fe19d7b39776f130ae42a395f0a37deea407 (diff)
downloadpkgsrc-66f3143811cd5b69e9aca06e7866c19a48e9a1ab.tar.gz
Bump PKGREVISION for netpbm update.
Add some build fixes where necessary.
Diffstat (limited to 'textproc/subtitleripper')
-rw-r--r--textproc/subtitleripper/Makefile5
-rw-r--r--textproc/subtitleripper/distinfo4
-rw-r--r--textproc/subtitleripper/patches/patch-aa8
3 files changed, 9 insertions, 8 deletions
diff --git a/textproc/subtitleripper/Makefile b/textproc/subtitleripper/Makefile
index 546f3ed45ae..10d88a47f7f 100644
--- a/textproc/subtitleripper/Makefile
+++ b/textproc/subtitleripper/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2013/02/16 11:24:40 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2014/09/08 21:24:45 wiz Exp $
#
DISTNAME= subtitleripper-0.3-4
PKGNAME= subtitleripper-0.3.4
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= textproc graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=subtitleripper/}
EXTRACT_SUFX= .tgz
@@ -16,6 +16,7 @@ DEPENDS+= gocr-[0-9]*:../../graphics/gocr
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/subtitleripper
+CPPFLAGS+= -I${BUILDLINK_PREFIX.netpbm}/include/netpbm
INSTALLATION_DIRS= bin libdata/subtitleripper share/doc/subtitleripper
CONFLICTS+= subtitleripper-0.3-[0-9]*
diff --git a/textproc/subtitleripper/distinfo b/textproc/subtitleripper/distinfo
index 1e51b7a9617..d2f7c7dd6cc 100644
--- a/textproc/subtitleripper/distinfo
+++ b/textproc/subtitleripper/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2010/01/09 12:25:20 obache Exp $
+$NetBSD: distinfo,v 1.7 2014/09/08 21:24:45 wiz Exp $
SHA1 (subtitleripper-0.3-4.tgz) = d93ff3578dd5f722c8f4ef16bc0903eec5781a0d
RMD160 (subtitleripper-0.3-4.tgz) = 141355960773ab2dfe3782522858273d197cf797
Size (subtitleripper-0.3-4.tgz) = 47299 bytes
-SHA1 (patch-aa) = f99aad2fd864aeb3d051510e63b4bd96c580a4d3
+SHA1 (patch-aa) = f54f4e4a0ec52c20b285547e9391ecb9fba83149
SHA1 (patch-ab) = 22335a412899b7cdb552185ff051c7d2f2e1ba59
SHA1 (patch-ac) = 98edef3e84b287ad64fb9054630b0b2aecf2953a
diff --git a/textproc/subtitleripper/patches/patch-aa b/textproc/subtitleripper/patches/patch-aa
index 2cfe908a22a..3b097dc35be 100644
--- a/textproc/subtitleripper/patches/patch-aa
+++ b/textproc/subtitleripper/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2008/09/06 09:19:02 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2014/09/08 21:24:45 wiz Exp $
---- Makefile.orig 2003-12-08 10:28:02.000000000 +0100
+--- Makefile.orig 2003-12-08 09:28:02.000000000 +0000
+++ Makefile
@@ -4,12 +4,12 @@
@@ -8,8 +8,8 @@ $NetBSD: patch-aa,v 1.3 2008/09/06 09:19:02 wiz Exp $
DEFINES :=
-LIBS := -lm
-INCLUDES :=
-+LIBS := ${BUILDLINK_LDFLAGS} -lm
-+INCLUDES := ${BUILDLINK_CPPFLAGS}
++LIBS := ${LDFLAGS} -lm
++INCLUDES := ${CPPFLAGS}
### enable ppm support ###
DEFINES += -D_HAVE_LIB_PPM_