diff options
author | tron <tron> | 2006-01-23 13:22:34 +0000 |
---|---|---|
committer | tron <tron> | 2006-01-23 13:22:34 +0000 |
commit | b7b50346c2b636b3dd7b72c5c919a879fca1c8b1 (patch) | |
tree | e9daa2c5020668d8d99b9098a1bce75760d2ab4b | |
parent | 9a6848b9fe557107009c45cbbe45662d07b0ea64 (diff) | |
download | pkgsrc-b7b50346c2b636b3dd7b72c5c919a879fca1c8b1.tar.gz |
Replace hardcoded "-lpthread" with "PTHREAD_LIBS" and "PTHREAD_LDFLAGS".
That should fix the build under DragonFly.
-rw-r--r-- | graphics/dvdview/distinfo | 3 | ||||
-rw-r--r-- | graphics/dvdview/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/dvdview/distinfo b/graphics/dvdview/distinfo index 93f96888774..25096523431 100644 --- a/graphics/dvdview/distinfo +++ b/graphics/dvdview/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.9 2005/02/24 08:45:04 agc Exp $ +$NetBSD: distinfo,v 1.10 2006/01/23 13:22:34 tron Exp $ SHA1 (dvdview-1.2.2.tar.gz) = d7d00aee0a5553f97b5a7673d7fa7174d173c12e RMD160 (dvdview-1.2.2.tar.gz) = 6563a006ecb788d5c9554016c97fbecb69814dab Size (dvdview-1.2.2.tar.gz) = 209143 bytes SHA1 (patch-aa) = b691e2988b1394002a1e57512216cdf55a592665 SHA1 (patch-ab) = 6509989ade7aff868c15436b859679ddd6b35a36 +SHA1 (patch-ac) = 68773260cfc04b8fd1ac8ac3a33ad685fecabc38 diff --git a/graphics/dvdview/patches/patch-ac b/graphics/dvdview/patches/patch-ac new file mode 100644 index 00000000000..2f014dcb4e2 --- /dev/null +++ b/graphics/dvdview/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.3 2006/01/23 13:22:34 tron Exp $ + +--- src/Makefile.in.orig 2002-11-11 15:46:54.000000000 +0000 ++++ src/Makefile.in 2006-01-23 13:18:02.000000000 +0000 +@@ -117,7 +117,7 @@ + dvdview_LDADD = \ + $(dvdview_common_ldadd) \ + @LIBVIDEOGFX_LIBS@ \ +- -lstdc++ -lpthread ++ -lstdc++ $(PTHREAD_LIBS) $(PTHREAD_LDFLAGS) + + subdir = src + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |