tech-pkg archive

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

installing libpng.so



Extra versioned bullshit is making using not-pkgsrc hard.
We can strip the violent hacks we do in buildlink3.mk because the rest
of the world installs with -lpng and now non-pkgsrc use will work again.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/png/Makefile,v
retrieving revision 1.195
diff -u -r1.195 Makefile
--- Makefile	2 Oct 2017 09:24:30 -0000	1.195
+++ Makefile	17 Jul 2018 09:13:02 -0000
@@ -2,6 +2,7 @@
 
 DISTNAME=	libpng-1.6.34
 PKGNAME=	${DISTNAME:S/lib//}
+PKGREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://ftp-osl.osuosl.org/pub/libpng/src/archive/xz/libpng16/
 MASTER_SITES+=	${MASTER_SITE_SOURCEFORGE:=libpng/}
@@ -14,11 +15,6 @@
 LICENSE=	zlib
 
 GNU_CONFIGURE=	yes
-# do not create libpng.la
-CONFIGURE_ARGS+=	--disable-unversioned-links
-# but do install png.h outside include/libpng$VERSION for now
-# until pkgsrc is fixed to use libpng-config or the pc file everywhere
-INSTALL_TARGET=	install install-header-links
 
 PKGCONFIG_OVERRIDE=	scripts/libpng.pc.in libpng.pc.in
 TEST_TARGET=	check
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/png/PLIST,v
retrieving revision 1.17
diff -u -r1.17 PLIST
--- PLIST	1 Sep 2016 04:14:23 -0000	1.17
+++ PLIST	17 Jul 2018 09:13:02 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2016/09/01 04:14:23 wiz Exp $
+@comment $NetBSD$
 bin/libpng-config
 bin/libpng16-config
 bin/png-fix-itxt
@@ -9,6 +9,9 @@
 include/png.h
 include/pngconf.h
 include/pnglibconf.h
+lib/libpng.a
+lib/libpng.la
+lib/libpng.so
 lib/libpng16.la
 lib/pkgconfig/libpng.pc
 lib/pkgconfig/libpng16.pc



Home | Main Index | Thread Index | Old Index