openbsd-ports/net/icinga/web/patches/patch-lib_agavi_Makefile_in

21 lines
784 B
Plaintext

$OpenBSD: patch-lib_agavi_Makefile_in,v 1.1 2012/05/17 11:06:33 sthen Exp $
Don't use ridiculous GNU find(1) extension.
-wholename pattern
See -path. This alternative is less portable than -path.
The mind boggles.
--- lib/agavi/Makefile.in.orig Thu May 17 11:01:31 2012
+++ lib/agavi/Makefile.in Thu May 17 11:01:35 2012
@@ -10,7 +10,7 @@ INSTALL=@INSTALL@
INSTALL_OPTS=@INSTALL_OPTS@
install: installdirs
- @files=`find src -mindepth 1 -type f ! -name "*.in" -and ! -name "Makefile" -and ! -wholename "src/build/*"`; \
+ @files=`find src -mindepth 1 -type f ! -name "*.in" -and ! -name "Makefile" -and ! -path "src/build/*"`; \
for file in $$files; do \
$(INSTALL) -m 644 $(INSTALL_OPTS) "$$file" $(DESTDIR)$(prefix)/lib/agavi/"$$file"; \
done