openbsd-ports/graphics/sane-backends/patches/patch-backend_Makefile
alek f6534cb730 - Fix modules names
- Better dependencies for -gphoto FLAVOR
- Bump PKGNAME
2005-10-04 21:42:38 +00:00

22 lines
830 B
Plaintext

--- backend/Makefile.in.orig Sat Jul 30 14:28:10 2005
+++ backend/Makefile.in Tue Oct 4 14:09:44 2005
@@ -25,7 +25,7 @@ infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
-configdir = ${sysconfdir}/sane.d
+configdir = ${datadir}/examples/$(PACKAGE)/sane.d
BEOS_ADDONDIR = @BEOS_ADDONDIR@
V_MAJOR = @V_MAJOR@
@@ -168,7 +168,8 @@ DISTFILES = abaton.c abaton.conf abaton.
libsane-%.la: %.lo %-s.lo $(EXTRA) $(LIBOBJS)
@$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) \
$(LDFLAGS) $(BACKENDLIBS) $^ @LIBTOOL_LINK_EXTRA@ -rpath $(libsanedir) \
- -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
+ -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG) \
+ -avoid-version
%-s.lo: %-s.c
@$(LIBTOOL) $(MCOMP) $(COMPILE) -DSTUBS -DBACKEND_NAME=$* $<