summaryrefslogtreecommitdiff
path: root/sysutils/libirman/patches/patch-aa
blob: 89af59c99caf8406fed512d632185822442927f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.4 2008/09/21 19:41:43 abs Exp $

--- Makefile.in.orig	1999-02-18 11:14:57.000000000 +0000
+++ Makefile.in
@@ -27,6 +27,7 @@ exec_prefix = @exec_prefix@
 bindir = @bindir@
 sbindir = @sbindir@
 libdir = @libdir@
+datadir = @datadir@
 sysconfdir = @sysconfdir@
 
 PROGS=test_io test_func test_name workmanir lirmand
@@ -121,11 +122,11 @@ install-dirs:
 	$(top_srcdir)/mkinstalldirs $(sysconfdir)
 	$(top_srcdir)/mkinstalldirs `echo $(LIRC_DRIVER_DEVICE) | sed 's|/[^/]*$$||'`
 
-install: @NORMAL@ install-dirs mkdev
+install: @NORMAL@ install-dirs
 	$(INSTALL) -m 755 workmanir $(bindir)/workmanir
 	$(INSTALL) -m 755 lirmand $(sbindir)/lirmand
 	$(INSTALL) -m 755 libirman.a $(libdir)/libirman.a
-	$(INSTALL) -m 644 irman.conf $(sysconfdir)/irman.conf
+	$(INSTALL) -m 644 irman.conf $(datadir)/examples/irman.conf
 	@echo notice: the test programs are only installed in the current directory \(`pwd`\)
 
 uninstall: rmdev