diff options
author | wiz <wiz> | 2012-04-17 21:56:52 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-04-17 21:56:52 +0000 |
commit | 79bf6b46f3593824472471e84d37c03a3a17223d (patch) | |
tree | 86e6afc852f7a7813d2b7f3928494e99a0f299b0 /graphics/potrace | |
parent | cf105d7be21685a74963742753f4acc96b05ce45 (diff) | |
download | pkgsrc-79bf6b46f3593824472471e84d37c03a3a17223d.tar.gz |
This package was broken at least on NetBSD, since it didn't install
the libpotrace library needed by the potrace executable.
Convince the package to install the library.
Bump PKGREVISION.
Diffstat (limited to 'graphics/potrace')
-rw-r--r-- | graphics/potrace/Makefile | 3 | ||||
-rw-r--r-- | graphics/potrace/PLIST | 3 | ||||
-rw-r--r-- | graphics/potrace/distinfo | 3 | ||||
-rw-r--r-- | graphics/potrace/patches/patch-src_Makefile.in | 115 |
4 files changed, 121 insertions, 3 deletions
diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile index 1ab39661cba..087bfb40493 100644 --- a/graphics/potrace/Makefile +++ b/graphics/potrace/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2011/09/12 21:38:52 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2012/04/17 21:56:52 wiz Exp $ DISTNAME= potrace-1.10 +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://potrace.sourceforge.net/download/ \ ${MASTER_SITE_SOURCEFORGE:=potrace/} diff --git a/graphics/potrace/PLIST b/graphics/potrace/PLIST index 7fa374d2297..0d71f2c2654 100644 --- a/graphics/potrace/PLIST +++ b/graphics/potrace/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.3 2011/09/12 21:38:52 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2012/04/17 21:56:52 wiz Exp $ bin/mkbitmap bin/potrace +lib/libpotrace.la man/man1/mkbitmap.1 man/man1/potrace.1 share/doc/potrace/placement.pdf diff --git a/graphics/potrace/distinfo b/graphics/potrace/distinfo index b768f70484b..793a52650a7 100644 --- a/graphics/potrace/distinfo +++ b/graphics/potrace/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2011/09/12 21:38:52 wiz Exp $ +$NetBSD: distinfo,v 1.6 2012/04/17 21:56:53 wiz Exp $ SHA1 (potrace-1.10.tar.gz) = e6e8b64d85d30b4695d197a79187ac98c2b236f9 RMD160 (potrace-1.10.tar.gz) = 716d77d5fce7c0bb4bbbbfb0f750aac3376bc028 Size (potrace-1.10.tar.gz) = 617866 bytes +SHA1 (patch-src_Makefile.in) = e878fc28acd5e31e8271b45419d9d17223c25a9d diff --git a/graphics/potrace/patches/patch-src_Makefile.in b/graphics/potrace/patches/patch-src_Makefile.in new file mode 100644 index 00000000000..6653bd9ded3 --- /dev/null +++ b/graphics/potrace/patches/patch-src_Makefile.in @@ -0,0 +1,115 @@ +$NetBSD: patch-src_Makefile.in,v 1.1 2012/04/17 21:56:53 wiz Exp $ + +The result of replacing EXTRA_LIBRARIES with lib_LTLIBRARIES +and rerunning automake-1.11.3 to make it install the needed libpotrace. +Some chunks probably unnecessary, but this works, so not cleaned up. + +--- src/Makefile.in.orig 2011-08-19 15:09:02.000000000 +0000 ++++ src/Makefile.in +@@ -1,9 +1,9 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.11.3 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software ++# Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -42,10 +42,7 @@ subdir = src + DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +-am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ +- $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ +- $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ +- $(top_srcdir)/configure.ac ++am__aclocal_m4_deps = $(top_srcdir)/configure.ac + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +@@ -73,6 +70,12 @@ am__nobase_list = $(am__nobase_strip_set + am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__uninstall_files_from_dir = { \ ++ test -z "$$files" \ ++ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ ++ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ ++ $(am__cd) "$$dir" && rm -f $$files; }; \ ++ } + am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(includedir)" + LTLIBRARIES = $(lib_LTLIBRARIES) +@@ -266,8 +269,7 @@ libsources = curve.c curve.h trace.c tra + decompose.h potracelib.c potracelib.h lists.h auxiliary.h bitmap.h \ + progress.h + +-lib_LTLIBRARIES = $(INSTLIBS) +-EXTRA_LTLIBRARIES = libpotrace.la ++lib_LTLIBRARIES = libpotrace.la + libpotrace_la_SOURCES = $(libsources) + libpotrace_la_LDFLAGS = -version-info 0:0:0 -rpath '$(libdir)' \ + -export-symbols $(srcdir)/libpotrace-export.sym -no-undefined +@@ -347,8 +349,8 @@ clean-libLTLIBRARIES: + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +-libpotrace.la: $(libpotrace_la_OBJECTS) $(libpotrace_la_DEPENDENCIES) +- $(libpotrace_la_LINK) $(libpotrace_la_OBJECTS) $(libpotrace_la_LIBADD) $(LIBS) ++libpotrace.la: $(libpotrace_la_OBJECTS) $(libpotrace_la_DEPENDENCIES) $(EXTRA_libpotrace_la_DEPENDENCIES) ++ $(libpotrace_la_LINK) -rpath $(libdir) $(libpotrace_la_OBJECTS) $(libpotrace_la_LIBADD) $(LIBS) + install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" +@@ -392,13 +394,13 @@ clean-binPROGRAMS: + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +-mkbitmap$(EXEEXT): $(mkbitmap_OBJECTS) $(mkbitmap_DEPENDENCIES) ++mkbitmap$(EXEEXT): $(mkbitmap_OBJECTS) $(mkbitmap_DEPENDENCIES) $(EXTRA_mkbitmap_DEPENDENCIES) + @rm -f mkbitmap$(EXEEXT) + $(LINK) $(mkbitmap_OBJECTS) $(mkbitmap_LDADD) $(LIBS) +-potrace$(EXEEXT): $(potrace_OBJECTS) $(potrace_DEPENDENCIES) ++potrace$(EXEEXT): $(potrace_OBJECTS) $(potrace_DEPENDENCIES) $(EXTRA_potrace_DEPENDENCIES) + @rm -f potrace$(EXEEXT) + $(LINK) $(potrace_OBJECTS) $(potrace_LDADD) $(LIBS) +-potracelib_demo$(EXEEXT): $(potracelib_demo_OBJECTS) $(potracelib_demo_DEPENDENCIES) ++potracelib_demo$(EXEEXT): $(potracelib_demo_OBJECTS) $(potracelib_demo_DEPENDENCIES) $(EXTRA_potracelib_demo_DEPENDENCIES) + @rm -f potracelib_demo$(EXEEXT) + $(LINK) $(potracelib_demo_OBJECTS) $(potracelib_demo_LDADD) $(LIBS) + +@@ -473,9 +475,7 @@ uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(includedir)" && rm -f $$files ++ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -578,10 +578,15 @@ install-am: all-am + + installcheck: installcheck-am + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + |