summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-01-29 17:04:57 +0000
committerjoerg <joerg@pkgsrc.org>2007-01-29 17:04:57 +0000
commitca1bdfe5854c4773df1ecd2629471b9ecb217f57 (patch)
tree14e52addc3ddd76f3f8ce3b633ce3bde277e8ea1 /net
parent81862292978f543650891e5f6cf536c13e5a3bcd (diff)
downloadpkgsrc-ca1bdfe5854c4773df1ecd2629471b9ecb217f57.tar.gz
Fix pthread linkage and honour pkgsrc CFLAGS. Bump revision.
No cookie for minskim.
Diffstat (limited to 'net')
-rw-r--r--net/yougrabber/Makefile4
-rw-r--r--net/yougrabber/distinfo3
-rw-r--r--net/yougrabber/patches/patch-aa15
3 files changed, 20 insertions, 2 deletions
diff --git a/net/yougrabber/Makefile b/net/yougrabber/Makefile
index 0d15cdcdb8f..a4a23375cbc 100644
--- a/net/yougrabber/Makefile
+++ b/net/yougrabber/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/22 18:52:25 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2007/01/29 17:04:57 joerg Exp $
#
DISTNAME= YouGrabber-0.20
+PKGREVISION= 1
CATEGORIES= net multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yougrabber/}
@@ -19,4 +20,5 @@ do-install:
.include "../../www/curl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/yougrabber/distinfo b/net/yougrabber/distinfo
index 3693423ed16..bce0bc46e50 100644
--- a/net/yougrabber/distinfo
+++ b/net/yougrabber/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/01/22 18:52:25 minskim Exp $
+$NetBSD: distinfo,v 1.2 2007/01/29 17:04:57 joerg Exp $
SHA1 (YouGrabber-0.20.tar.gz) = 7f6d27553ef4e6cf59bbae800f2f58ab19bfde7e
RMD160 (YouGrabber-0.20.tar.gz) = 1b7dea00208e16a264161b4c8bf8b50025507936
Size (YouGrabber-0.20.tar.gz) = 14309 bytes
+SHA1 (patch-aa) = 7b62a42bce77ea5b1a0473e6df5002edef45d102
diff --git a/net/yougrabber/patches/patch-aa b/net/yougrabber/patches/patch-aa
new file mode 100644
index 00000000000..5dbbbd1aa53
--- /dev/null
+++ b/net/yougrabber/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2007/01/29 17:04:57 joerg Exp $
+
+--- Makefile.orig 2007-01-29 16:49:26.000000000 +0000
++++ Makefile
+@@ -22,8 +22,8 @@
+
+ CC = gcc
+ OUT = yg
+-LIBS = `curl-config --libs` -lncurses -lpanel -lpthread
+-CFLAGS = -g -ansi -Wall
++LIBS = `curl-config --libs` -lncurses -lpanel ${PTHREAD_LIBS} ${PTHREAD_LDFLAGS}
++CFLAGS += -Wall ${PTHREAD_CFLAGS}
+ FILES = config.o grabber.o utils.o $(OUT).o
+ PREFIX = /usr
+ REMOVE = /bin/rm -f