]> git.pld-linux.org Git - packages/audit.git/blob - golang-paths.patch
- updated to 3.1.2; flexible array workaround already in code
[packages/audit.git] / golang-paths.patch
1 --- audit-2.5.2/bindings/golang/Makefile.am.orig        2016-05-10 20:17:50.423996653 +0200
2 +++ audit-2.5.2/bindings/golang/Makefile.am     2016-05-10 20:27:31.460638934 +0200
3 @@ -25,15 +25,14 @@
4  dist_check_SCRIPTS = test.go
5  
6  if HAVE_GOLANG
7 -LIBDIR = lib
8 -GODIR = $(LIBDIR)/golang/src/pkg/redhat.com/audit
9 +GODIR = $(libdir)/golang/src/redhat.com/audit
10  
11  install:
12 -       [ -d $(DESTDIR)${prefix}/$(GODIR) ] || mkdir -p $(DESTDIR)${prefix}/$(GODIR)
13 -       install -m 644 ${top_srcdir}/bindings/golang/audit.go $(DESTDIR)${prefix}/$(GODIR)
14 +       [ -d $(DESTDIR)$(GODIR) ] || mkdir -p $(DESTDIR)$(GODIR)
15 +       install -m 644 ${top_srcdir}/bindings/golang/audit.go $(DESTDIR)$(GODIR)
16  
17  uninstall:
18 -       @rm -f $(DESTDIR)${prefix}/$(GODIR)/*
19 +       @rm -f $(DESTDIR)$(GODIR)/*
20  
21  check:
22         @mkdir audit
This page took 0.071825 seconds and 3 git commands to generate.