From a0bcd2cf684ff6bc2faf242e6678282f20a3ee44 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 21 Oct 2016 15:21:13 +0000 Subject: Use USES=pathfix where applicable. PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093 --- databases/sqlrelay/Makefile | 3 ++- databases/sqlrelay/files/patch-Makefile | 16 ++-------------- 2 files changed, 4 insertions(+), 15 deletions(-) (limited to 'databases/sqlrelay') diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile index 4f4382968188..51562be615af 100644 --- a/databases/sqlrelay/Makefile +++ b/databases/sqlrelay/Makefile @@ -14,7 +14,8 @@ LICENSE= LGPL20 LIB_DEPENDS= librudiments.so:devel/rudiments WANT_GNOME= yes -USES= gmake libtool python +USES= gmake libtool pathfix python +PATHFIX_MAKEFILEIN= Makefile CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \ diff --git a/databases/sqlrelay/files/patch-Makefile b/databases/sqlrelay/files/patch-Makefile index d6de7352b485..1647709438ec 100644 --- a/databases/sqlrelay/files/patch-Makefile +++ b/databases/sqlrelay/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile.orig 2016-01-17 07:20:04 UTC +++ Makefile -@@ -30,16 +30,13 @@ install-doc: +@@ -30,9 +30,6 @@ install-doc: cd doc $(AND) $(MAKE) install install-license: @@ -9,19 +9,7 @@ - $(CHMOD) 0644 $(licensedir)/COPYING install-pkgconfig: -- $(MKINSTALLDIRS) $(libdir)/pkgconfig -- $(CP) sqlrelay-c.pc $(libdir)/pkgconfig/$(SQLRELAY)-c.pc -- $(CHMOD) 0644 $(libdir)/pkgconfig/$(SQLRELAY)-c.pc -- $(CP) sqlrelay-c++.pc $(libdir)/pkgconfig/$(SQLRELAY)-c++.pc -- $(CHMOD) 0644 $(libdir)/pkgconfig/$(SQLRELAY)-c++.pc -+ $(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig -+ $(CP) sqlrelay-c.pc $(prefix)/libdata/pkgconfig/sqlrelay-c.pc -+ $(CHMOD) 0644 $(prefix)/libdata/pkgconfig/sqlrelay-c.pc -+ $(CP) sqlrelay-c++.pc $(prefix)/libdata/pkgconfig/sqlrelay-c++.pc -+ $(CHMOD) 0644 $(prefix)/libdata/pkgconfig/sqlrelay-c++.pc - - uninstall: $(UNINSTALLSUBDIRS) - $(RMTREE) $(libexecdir) + $(MKINSTALLDIRS) $(libdir)/pkgconfig @@ -63,7 +60,6 @@ uninstall-doc: cd doc $(AND) $(MAKE) uninstall -- cgit v1.2.3