aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-10-21 23:21:13 +0800
committermat <mat@FreeBSD.org>2016-10-21 23:21:13 +0800
commit60e51bda11dcc0742419f2a459990d0d81cb07d8 (patch)
treea5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /shells
parent3432585b4743642027fc2b3af5eac2780fc2c4cd (diff)
downloadfreebsd-ports-gnome-60e51bda11dcc0742419f2a459990d0d81cb07d8.tar.gz
freebsd-ports-gnome-60e51bda11dcc0742419f2a459990d0d81cb07d8.tar.zst
freebsd-ports-gnome-60e51bda11dcc0742419f2a459990d0d81cb07d8.zip
Use USES=pathfix where applicable.
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
Diffstat (limited to 'shells')
-rw-r--r--shells/bash-completion/Makefile3
-rw-r--r--shells/bash-completion/files/patch-Makefile.am10
2 files changed, 5 insertions, 8 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index a11f55eb71fb..d3444bcc6455 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -17,7 +17,8 @@ RUN_DEPENDS= bash:shells/bash
USE_AUTOTOOLS= aclocal automake
GNU_CONFIGURE= yes
-USES= gmake tar:bzip2
+USES= gmake pathfix tar:bzip2
+PATHFIX_MAKEFILEIN= Makefile.am
SUB_FILES= pkg-message
SUB_LIST+= RUNFILE=${DATADIR}/bash_completion.sh
diff --git a/shells/bash-completion/files/patch-Makefile.am b/shells/bash-completion/files/patch-Makefile.am
index 73fe3ca79f9c..40771d02009a 100644
--- a/shells/bash-completion/files/patch-Makefile.am
+++ b/shells/bash-completion/files/patch-Makefile.am
@@ -1,6 +1,6 @@
---- Makefile.am.orig 2013-04-05 09:43:56.000000000 +0000
+--- Makefile.am.orig 2016-10-04 13:52:42 UTC
+++ Makefile.am
-@@ -5,10 +5,10 @@ pkgdata_DATA = bash_completion
+@@ -5,7 +5,7 @@ pkgdata_DATA = bash_completion
# Empty, but here just to get the compat dir created with install
compat_DATA =
@@ -8,11 +8,7 @@
+profiledir = $(prefix)/share/bash-completion
profile_DATA = bash_completion.sh
--pkgconfigdir = $(datadir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = bash-completion.pc
-
- bash_completion.sh: bash_completion.sh.in Makefile
+ pkgconfigdir = $(prefix)/libdata/pkgconfig
@@ -20,8 +20,10 @@ EXTRA_DIST = CHANGES $(sysconf_DATA) $(p
.dir-locals.el