summaryrefslogtreecommitdiff
path: root/graphics/libbpg
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2014-12-15 20:54:16 +0000
committeragc <agc@pkgsrc.org>2014-12-15 20:54:16 +0000
commit562e7522a61d515f49b95b562b93853d8ed369b4 (patch)
tree0ce2914d2c79766afd3cf87b7541298f0a8750e5 /graphics/libbpg
parent3c45ac097026b820cdf3afaa969c777450bcf812 (diff)
downloadpkgsrc-562e7522a61d515f49b95b562b93853d8ed369b4.tar.gz
Also patch the libpath and rpath for bpgdec as well as bpgenc - bug report
from joerg.
Diffstat (limited to 'graphics/libbpg')
-rw-r--r--graphics/libbpg/distinfo4
-rw-r--r--graphics/libbpg/patches/patch-Makefile11
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/libbpg/distinfo b/graphics/libbpg/distinfo
index f4bef083fe7..43812ae1085 100644
--- a/graphics/libbpg/distinfo
+++ b/graphics/libbpg/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2014/12/12 22:05:04 agc Exp $
+$NetBSD: distinfo,v 1.2 2014/12/15 20:54:16 agc Exp $
SHA1 (libbpg-0.9.2.tar.gz) = bec3a62198e23319b247d0efccb95ad4bf56bea5
RMD160 (libbpg-0.9.2.tar.gz) = e3b7fea0e7d19bc4cfa6c6a883d8419328ee1a06
Size (libbpg-0.9.2.tar.gz) = 962136 bytes
-SHA1 (patch-Makefile) = b9826b99237f3b5befe7826081905e1f7e78994c
+SHA1 (patch-Makefile) = 1a540e4ddc01286c76107821ca4e2bf12ac56b7a
SHA1 (patch-bpgenc.c) = 2f920aeb7b1566fb1a12bd755bf7bc17ca4f51f8
SHA1 (patch-config.h) = fdd3f6ec22e0347512e8553f68e4339ace575ff3
diff --git a/graphics/libbpg/patches/patch-Makefile b/graphics/libbpg/patches/patch-Makefile
index 1cdb2412c19..539bee52df6 100644
--- a/graphics/libbpg/patches/patch-Makefile
+++ b/graphics/libbpg/patches/patch-Makefile
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1.1.1 2014/12/12 22:05:04 agc Exp $
+$NetBSD: patch-Makefile,v 1.2 2014/12/15 20:54:16 agc Exp $
install into the right place
@@ -22,3 +22,12 @@ install into the right place
bpgenc.o: CFLAGS+=-Wno-unused-but-set-variable
+@@ -141,7 +141,7 @@
+ $(AR) rcs $@ $^
+
+ bpgdec$(EXE): bpgdec.o libbpg.a
+- $(CC) $(LDFLAGS) -o $@ $^ -lpng $(LIBS)
++ $(CC) $(LDFLAGS) -o $@ $^ $(BPGENC_LIBS)
+
+ bpgenc$(EXE): $(BPGENC_OBJS)
+ $(CXX) $(LDFLAGS) -o $@ $^ $(BPGENC_LIBS)