diff options
author | brian <brian@FreeBSD.org> | 2001-04-02 16:34:14 +0800 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-04-02 16:34:14 +0800 |
commit | 561c0bad9ec4f56c752c1676e5648ad357e93320 (patch) | |
tree | 4c0f0152d4cbd1ed9c6786ef2a6c79b4065024e4 | |
parent | 47a5459c1161604e19486b2bb9d8bb4b605fb0ca (diff) | |
download | freebsd-ports-gnome-561c0bad9ec4f56c752c1676e5648ad357e93320.tar.gz freebsd-ports-gnome-561c0bad9ec4f56c752c1676e5648ad357e93320.tar.zst freebsd-ports-gnome-561c0bad9ec4f56c752c1676e5648ad357e93320.zip |
Install $PREFIX/sane/*.so.1 so that xsane works.
xsane will use graphics/sane-backends (instead of graphics/sane) when
I get an ok from the MAINTAINER.
-rw-r--r-- | graphics/sane-backends/files/patch-backend_Makefile.in | 19 | ||||
-rw-r--r-- | graphics/sane-backends/pkg-plist | 32 |
2 files changed, 48 insertions, 3 deletions
diff --git a/graphics/sane-backends/files/patch-backend_Makefile.in b/graphics/sane-backends/files/patch-backend_Makefile.in index b922a02fa963..62ad8cfb1dbe 100644 --- a/graphics/sane-backends/files/patch-backend_Makefile.in +++ b/graphics/sane-backends/files/patch-backend_Makefile.in @@ -1,5 +1,5 @@ ---- backend/Makefile.in.orig Fri Dec 1 04:05:49 2000 -+++ backend/Makefile.in Tue Mar 27 07:00:10 2001 +--- backend/Makefile.in.orig Thu Nov 30 20:05:49 2000 ++++ backend/Makefile.in Mon Apr 2 09:15:36 2001 @@ -69,7 +69,7 @@ LIBOBJS = $(addprefix ../lib/,$(addsuffix .lo,$(LIBLIB_FUNCS))) @@ -9,7 +9,20 @@ $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \ -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) -@@ -109,10 +109,10 @@ +@@ -99,9 +99,10 @@ + @$(LIBTOOL) $(MINST) --finish $(libsanedir) + @# Assume the dll name without any versions is last + @dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \ +- list="$(ALL_BACKENDS)"; cd $(libsanedir) && for be in $$list; do \ ++ list="$(ALL_BACKENDS)"; origdir=`pwd`; \ ++ cd $(libsanedir) && for be in $$list; do \ + file=libsane-$${be}.$$dllend.$(V_MAJOR); \ +- lib=`grep dlname= libsane-$${be}.la | cut -f2 -d"'"`; \ ++ lib=`grep dlname= "$$origdir"/libsane-$${be}.la | cut -f2 -d"'"`; \ + if test ! -f $${file} -a -n "$${lib}"; then \ + $(LN_S) $${lib} $${file}; \ + fi; \ +@@ -109,10 +110,10 @@ @# Assume the dll name without any versions is last @dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \ rm -f $(libdir)/libsane.a $(libdir)/libsane.$$dllend \ diff --git a/graphics/sane-backends/pkg-plist b/graphics/sane-backends/pkg-plist index 6299969d516f..57760298a437 100644 --- a/graphics/sane-backends/pkg-plist +++ b/graphics/sane-backends/pkg-plist @@ -36,37 +36,69 @@ lib/libsane.a lib/libsane.so lib/libsane.so.1 lib/sane/libsane-abaton.so +lib/sane/libsane-abaton.so.1 lib/sane/libsane-agfafocus.so +lib/sane/libsane-agfafocus.so.1 lib/sane/libsane-apple.so +lib/sane/libsane-apple.so.1 lib/sane/libsane-artec.so +lib/sane/libsane-artec.so.1 lib/sane/libsane-as6e.so +lib/sane/libsane-as6e.so.1 lib/sane/libsane-avision.so +lib/sane/libsane-avision.so.1 lib/sane/libsane-canon.so +lib/sane/libsane-canon.so.1 lib/sane/libsane-coolscan.so +lib/sane/libsane-coolscan.so.1 lib/sane/libsane-dc210.so +lib/sane/libsane-dc210.so.1 lib/sane/libsane-dc25.so +lib/sane/libsane-dc25.so.1 lib/sane/libsane-dll.so +lib/sane/libsane-dll.so.1 lib/sane/libsane-dmc.so +lib/sane/libsane-dmc.so.1 lib/sane/libsane-epson.so +lib/sane/libsane-epson.so.1 lib/sane/libsane-hp.so +lib/sane/libsane-hp.so.1 lib/sane/libsane-m3096g.so +lib/sane/libsane-m3096g.so.1 lib/sane/libsane-microtek.so +lib/sane/libsane-microtek.so.1 lib/sane/libsane-microtek2.so +lib/sane/libsane-microtek2.so.1 lib/sane/libsane-mustek.so +lib/sane/libsane-mustek.so.1 lib/sane/libsane-mustek_pp.so +lib/sane/libsane-mustek_pp.so.1 lib/sane/libsane-nec.so +lib/sane/libsane-nec.so.1 lib/sane/libsane-net.so +lib/sane/libsane-net.so.1 lib/sane/libsane-pie.so +lib/sane/libsane-pie.so.1 lib/sane/libsane-plustek.so +lib/sane/libsane-plustek.so.1 lib/sane/libsane-pnm.so +lib/sane/libsane-pnm.so.1 lib/sane/libsane-ricoh.so +lib/sane/libsane-ricoh.so.1 lib/sane/libsane-s9036.so +lib/sane/libsane-s9036.so.1 lib/sane/libsane-sharp.so +lib/sane/libsane-sharp.so.1 lib/sane/libsane-snapscan.so +lib/sane/libsane-snapscan.so.1 lib/sane/libsane-sp15c.so +lib/sane/libsane-sp15c.so.1 lib/sane/libsane-st400.so +lib/sane/libsane-st400.so.1 lib/sane/libsane-tamarack.so +lib/sane/libsane-tamarack.so.1 lib/sane/libsane-umax.so +lib/sane/libsane-umax.so.1 sbin/saned @dirrm lib/sane @dirrm include/sane |