pkgsrc/textproc/xapian-omega/patches/patch-aa
2012-01-10 01:03:59 +00:00

44 lines
1.6 KiB
Text

$NetBSD: patch-aa,v 1.3 2012/01/10 01:04:00 schmonz Exp $
Call it "xapian-omega" and follow hier(7).
--- Makefile.in.orig 2011-12-14 05:34:48.000000000 +0000
+++ Makefile.in
@@ -38,7 +38,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-pkglibbin_PROGRAMS = omega$(EXEEXT)
+pkglibbin_PROGRAMS = xapian-omega$(EXEEXT)
bin_PROGRAMS = omindex$(EXEEXT) scriptindex$(EXEEXT)
check_PROGRAMS = htmlparsetest$(EXEEXT) md5test$(EXEEXT) \
urlenctest$(EXEEXT) utf8converttest$(EXEEXT)
@@ -423,7 +423,7 @@ AM_CPPFLAGS = \
-DCONFIGFILE_SYSTEM=\"$(sysconfdir)/omega.conf\" \
-DPKGLIBBINDIR=\"$(pkglibbindir)\"
-pkglibbindir = $(pkglibdir)/bin
+pkglibbindir = $(libexecdir)/cgi-bin
dist_pkglibbin_SCRIPTS = outlookmsg2html
dist_bin_SCRIPTS = dbi2omega htdig2omega mbox2omega
TESTS = htmlparsetest$(EXEEXT)\
@@ -431,7 +431,7 @@ TESTS = htmlparsetest$(EXEEXT)\
urlenctest$(EXEEXT)\
utf8converttest$(EXEEXT)
-omegadatadir = $(datadir)/omega
+omegadatadir = $(datadir)/xapian-omega
dist_omegadata_DATA = htdig2omega.script mbox2omega.script
dist_sysconf_DATA = omega.conf
@@ -662,8 +662,8 @@ htmlparsetest$(EXEEXT): $(htmlparsetest_
md5test$(EXEEXT): $(md5test_OBJECTS) $(md5test_DEPENDENCIES)
@rm -f md5test$(EXEEXT)
$(CXXLINK) $(md5test_OBJECTS) $(md5test_LDADD) $(LIBS)
-omega$(EXEEXT): $(omega_OBJECTS) $(omega_DEPENDENCIES)
- @rm -f omega$(EXEEXT)
+xapian-omega$(EXEEXT): $(omega_OBJECTS) $(omega_DEPENDENCIES)
+ @rm -f xapian-omega$(EXEEXT)
$(CXXLINK) $(omega_OBJECTS) $(omega_LDADD) $(LIBS)
omindex$(EXEEXT): $(omindex_OBJECTS) $(omindex_DEPENDENCIES)
@rm -f omindex$(EXEEXT)