pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libimagequant Put the '--tag=CC' where it bel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d61b297fb3a6
branches:  trunk
changeset: 459355:d61b297fb3a6
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Mon Oct 04 15:02:24 2021 +0000

description:
Put the '--tag=CC' where it belongs. It didn't help that the package
only breaks when built from pkg_rolling-replace, but not with a 'make
package'.

diffstat:

 graphics/libimagequant/Makefile               |  4 ++--
 graphics/libimagequant/distinfo               |  4 ++--
 graphics/libimagequant/patches/patch-Makefile |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r d95ae8405a9e -r d61b297fb3a6 graphics/libimagequant/Makefile
--- a/graphics/libimagequant/Makefile   Mon Oct 04 14:49:06 2021 +0000
+++ b/graphics/libimagequant/Makefile   Mon Oct 04 15:02:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2021/10/04 12:05:58 hauke Exp $
+# $NetBSD: Makefile,v 1.25 2021/10/04 15:02:24 hauke Exp $
 
 DISTNAME=      libimagequant-2.16.0
 CATEGORIES=    graphics
@@ -31,7 +31,7 @@
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/libimagequant.h \
                ${DESTDIR}${PREFIX}/include/libimagequant.h
-       ${LIBTOOL} --mode=install --tag=CC ${INSTALL_LIB} \
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} \
                ${WRKSRC}/libimagequant.la ${DESTDIR}${PREFIX}/lib
 
 .include "../../mk/bsd.pkg.mk"
diff -r d95ae8405a9e -r d61b297fb3a6 graphics/libimagequant/distinfo
--- a/graphics/libimagequant/distinfo   Mon Oct 04 14:49:06 2021 +0000
+++ b/graphics/libimagequant/distinfo   Mon Oct 04 15:02:24 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.25 2021/10/01 09:00:36 adam Exp $
+$NetBSD: distinfo,v 1.26 2021/10/04 15:02:24 hauke Exp $
 
 SHA1 (libimagequant-2.16.0.tar.gz) = a86af0bb351e0fabbd48c4246448e43d9c4b4939
 RMD160 (libimagequant-2.16.0.tar.gz) = 7ff32d6d7b7bd3c377c51f33649c1299b54a3d45
 SHA512 (libimagequant-2.16.0.tar.gz) = aada80a77ba57da6db0c713f2001582a233d8418630eeceb6253bc4ea58ab631fcf38d3e41a2ff3595fd258c12a81bee83c6fe985cbd309fa8ddc286b9bd4d65
 Size (libimagequant-2.16.0.tar.gz) = 99275 bytes
-SHA1 (patch-Makefile) = e75e9fea798efed44e25b840d5d433f16e18522a
+SHA1 (patch-Makefile) = 979f07975806619b8bff6a7868c948903f8697db
 SHA1 (patch-configure) = 89e4a07015ba59e6688eeee35e30289d24ac5307
diff -r d95ae8405a9e -r d61b297fb3a6 graphics/libimagequant/patches/patch-Makefile
--- a/graphics/libimagequant/patches/patch-Makefile     Mon Oct 04 14:49:06 2021 +0000
+++ b/graphics/libimagequant/patches/patch-Makefile     Mon Oct 04 15:02:24 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.5 2018/06/12 10:15:03 adam Exp $
+$NetBSD: patch-Makefile,v 1.6 2021/10/04 15:02:24 hauke Exp $
 
 Libtoolize.
 
@@ -18,7 +18,7 @@
  
  $(SHAREDOBJS):
 -      $(CC) -fPIC $(CFLAGS) -c $(@:.lo=.c) -o $@
-+      ${LIBTOOL} --mode=compile $(CC) -fPIC $(CFLAGS) -c $(@:.lo=.c) -o $@
++      ${LIBTOOL} --mode=compile --tag=CC $(CC) -fPIC $(CFLAGS) -c $(@:.lo=.c) -o $@
  
 -libimagequant.so: $(SHAREDOBJS)
 -      $(CC) -shared -Wl,-soname,$(SHAREDLIBVER) -o $(SHAREDLIBVER) $^ $(LDFLAGS)
@@ -28,7 +28,7 @@
 -      $(CC) -shared -o $(SHAREDLIBVER) $^ $(LDFLAGS)
 -      ln -fs $(SHAREDLIBVER) $(SHAREDLIB)
 +$(SHAREDLIB): $(SHAREDOBJS)
-+      ${LIBTOOL} --mode=link $(CC) -o $(SHAREDLIB) $^ $(LDFLAGS) \
++      ${LIBTOOL} --mode=link --tag=CC $(CC) -o $(SHAREDLIB) $^ $(LDFLAGS) \
 +              -rpath ${PREFIX}/lib -version-info $(subst .,:,$(basename $(VERSION)))
  
  $(OBJS): $(wildcard *.h) config.mk



Home | Main Index | Thread Index | Old Index