View | Details | Raw Unified | Return to bug 213195 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/Uses/pathfix.mk (-2 / +14 lines)
Lines 17-29 IGNORE= USES=pathfix does not require args Link Here
17
.endif
17
.endif
18
18
19
PATHFIX_CMAKELISTSTXT?=	CMakeLists.txt
19
PATHFIX_CMAKELISTSTXT?=	CMakeLists.txt
20
.if ${USES:Mautoreconf*}
21
PATHFIX_MAKEFILEIN?=	Makefile.am Makefile.in
22
.else
20
PATHFIX_MAKEFILEIN?=	Makefile.in
23
PATHFIX_MAKEFILEIN?=	Makefile.in
24
.endif
21
PATHFIX_WRKSRC?=	${WRKSRC}
25
PATHFIX_WRKSRC?=	${WRKSRC}
22
26
23
_USES_patch+=	190:pathfix
27
_USES_patch+=	190:pathfix
24
pathfix:
28
pathfix:
25
.if ${USES:Mcmake*}
29
.if ${USES:Mcmake*}
26
	@${FIND} ${PATHFIX_WRKSRC} -name "${PATHFIX_CMAKELISTSTXT}" -type f | ${XARGS} ${REINPLACE_CMD} -e \
30
.for file in ${PATHFIX_CMAKELISTSTXT}
31
	@${FIND} ${PATHFIX_WRKSRC} -name "${file}" -type f | ${XARGS} ${REINPLACE_CMD} -e \
27
		's|[{]CMAKE_INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
32
		's|[{]CMAKE_INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
28
		s|[{]INSTALL_LIB_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
33
		s|[{]INSTALL_LIB_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
29
		s|[{]INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
34
		s|[{]INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
Lines 34-50 pathfix: Link Here
34
		s|[{]LIBRARY_INSTALL_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
39
		s|[{]LIBRARY_INSTALL_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
35
		s|[{]libdir[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
40
		s|[{]libdir[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
36
		s|lib/pkgconfig|libdata/pkgconfig|g'
41
		s|lib/pkgconfig|libdata/pkgconfig|g'
42
.endfor
37
.else
43
.else
38
	@${FIND} ${PATHFIX_WRKSRC} -name "${PATHFIX_MAKEFILEIN}" -type f | ${XARGS} ${REINPLACE_CMD} -e \
44
.for file in ${PATHFIX_MAKEFILEIN}
45
	@${FIND} ${PATHFIX_WRKSRC} -name "${file}" -type f | ${XARGS} ${REINPLACE_CMD} -e \
39
		's|[(]libdir[)]/locale|(prefix)/share/locale|g ; \
46
		's|[(]libdir[)]/locale|(prefix)/share/locale|g ; \
40
		s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
47
		s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
41
		s|[(]LIBDIR[)]/pkgconfig|(PREFIX)/libdata/pkgconfig|g ; \
48
		s|[(]LIBDIR[)]/pkgconfig|(PREFIX)/libdata/pkgconfig|g ; \
49
		s|@libdir@/locale|@prefix@/share/locale|g ; \
50
		s|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g ; \
42
		s|[{]libdir[}]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
51
		s|[{]libdir[}]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
43
		s|[{]LIBDIR[}]/pkgconfig|(PREFIX)/libdata/pkgconfig|g ; \
52
		s|[{]LIBDIR[}]/pkgconfig|(PREFIX)/libdata/pkgconfig|g ; \
44
		s|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
53
		s|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
54
		s|[{]datadir[}]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
45
		s|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
55
		s|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
56
		s|[[:<:]]lib/pkgconfig|libdata/pkgconfig|g; \
46
		s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \
57
		s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \
47
		s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g'
58
		s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g'
59
.endfor
48
.endif
60
.endif
49
61
50
.endif
62
.endif
(-)archivers/lhasa/Makefile (-1 lines)
Lines 14-20 LICENSE= ISCL Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
USES=		autoreconf pathfix libtool
16
USES=		autoreconf pathfix libtool
17
PATHFIX_MAKEFILEIN=	Makefile.am
18
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
CONFIGURE_ARGS=	--program-suffix=sa
19
CONFIGURE_ARGS=	--program-suffix=sa
(-)archivers/liblz4/Makefile (-5 / +4 lines)
Lines 16-35 LICENSE_COMB= multi Link Here
16
USE_GITHUB=	yes
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	Cyan4973
17
GH_ACCOUNT=	Cyan4973
18
18
19
USES=		gmake pkgconfig
19
USES=		gmake pathfix pkgconfig
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
PATHFIX_MAKEFILEIN=	Makefile
21
22
22
ALL_TARGET=	default		# don't remove this
23
ALL_TARGET=	default		# don't remove this
23
SO_VER=		1.7.1
24
SO_VER=		1.7.1
24
PLIST_SUB+=	SO_VER=${SO_VER} SO_VER_MAJ=${SO_VER:R:R}
25
PLIST_SUB+=	SO_VER=${SO_VER} SO_VER_MAJ=${SO_VER:R:R}
26
LIBDIR=		${PREFIX}/lib
25
27
26
post-patch:
28
post-patch:
27
	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
29
	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
28
		-e 's/LIBDIR?=/LOCALLIBDIR=/; s/$$(LIBDIR)/$$(LOCALLIBDIR)/g' \
29
		-e 's|$$(LOCALLIBDIR)/pkgconfig|$$(PREFIX)/libdata/pkgconfig|' \
30
		-e '/^MANDIR :=/s|share/||' \
30
		-e '/^MANDIR :=/s|share/||' \
31
		-e 's/kFreeBSD/& FreeBSD/' \
31
		-e 's/kFreeBSD/& FreeBSD/'
32
		-e 's|$$(MAKE)|${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}|'
33
	@${REINPLACE_CMD} -e '/^all:/s/$$/ liblz4.pc/' \
32
	@${REINPLACE_CMD} -e '/^all:/s/$$/ liblz4.pc/' \
34
		${WRKSRC}/lib/Makefile
33
		${WRKSRC}/lib/Makefile
35
	@${REINPLACE_CMD} -e '/^all:/s|fullbench.*||' \
34
	@${REINPLACE_CMD} -e '/^all:/s|fullbench.*||' \
(-)archivers/minizip/Makefile (-1 lines)
Lines 14-20 COMMENT= Zip library and programs from Zlib distribution Link Here
14
LICENSE=	ZLIB
14
LICENSE=	ZLIB
15
15
16
USES=		autoreconf libtool pathfix tar:xz
16
USES=		autoreconf libtool pathfix tar:xz
17
PATHFIX_MAKEFILEIN=	Makefile.am
18
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--enable-demos
18
CONFIGURE_ARGS=	--enable-demos
20
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
(-)archivers/unadf/Makefile (-1 lines)
Lines 18-24 GNU_CONFIGURE= yes Link Here
18
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/adflib
18
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/adflib
19
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
20
USES=		autoreconf libtool pathfix tar:bzip2
20
USES=		autoreconf libtool pathfix tar:bzip2
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
21
23
OPTIONS_DEFINE=	DOCS
22
OPTIONS_DEFINE=	DOCS
24
23
(-)audio/libaacplus/Makefile (-1 lines)
Lines 28-34 CONFLICTS= aacplusenc-0* Link Here
28
USE_CSTD=	gnu89
28
USE_CSTD=	gnu89
29
USES=		autoreconf pathfix pkgconfig libtool
29
USES=		autoreconf pathfix pkgconfig libtool
30
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
31
PATHFIX_MAKEFILEIN=	Makefile.am
32
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
33
MAKE_JOBS_UNSAFE=	yes
32
MAKE_JOBS_UNSAFE=	yes
34
INSTALL_TARGET=	install-strip
33
INSTALL_TARGET=	install-strip
(-)audio/libadplug/Makefile (-4 / +1 lines)
Lines 15-21 LICENSE= GPLv2 Link Here
15
15
16
LIB_DEPENDS=	libbinio.so:devel/libbinio
16
LIB_DEPENDS=	libbinio.so:devel/libbinio
17
17
18
USES=		pkgconfig libtool makeinfo
18
USES=		libtool makeinfo pathfix pkgconfig
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
USE_CSTD=	gnu89
21
USE_CSTD=	gnu89
Lines 38-46 post-patch: Link Here
38
		${WRKSRC}/src/fprovide.cpp \
38
		${WRKSRC}/src/fprovide.cpp \
39
		${WRKSRC}/src/database.cpp \
39
		${WRKSRC}/src/database.cpp \
40
		${WRKSRC}/src/dmo.cpp
40
		${WRKSRC}/src/dmo.cpp
41
	@${REINPLACE_CMD} -e 's|^\(pkgconfigdir\ =\).*|\1 $$(prefix)/libdata/pkgconfig|' \
42
		${WRKSRC}/Makefile.in \
43
		${WRKSRC}/Makefile.am
44
	@${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/configure
41
	@${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/configure
45
42
46
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)audio/libmikmod/Makefile (-1 / +1 lines)
Lines 11-17 COMMENT= MikMod Sound Library Link Here
11
11
12
LICENSE=	LGPL21
12
LICENSE=	LGPL21
13
13
14
USES=		cpe gmake libtool pkgconfig
14
USES=		cpe gmake libtool pathfix pkgconfig
15
CPE_VENDOR=	raphael_assenat
15
CPE_VENDOR=	raphael_assenat
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS=	--disable-esd
17
CONFIGURE_ARGS=	--disable-esd
(-)audio/libmikmod/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2015-11-11 10:02:02 UTC
2
+++ Makefile.in
3
@@ -372,7 +372,7 @@ EXTRA_DIST = libmikmod-config.in libmikm
4
 
5
 m4datadir = $(datadir)/aclocal
6
 m4data_DATA = libmikmod.m4
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libmikmod.pc
10
 ACLOCAL_AMFLAGS = -I m4
11
 
(-)audio/libtremor/Makefile (-1 lines)
Lines 16-22 LIB_DEPENDS= libogg.so:audio/libogg Link Here
16
16
17
GIT_COMMIT=	b56ffc
17
GIT_COMMIT=	b56ffc
18
USES=		autoreconf libtool pathfix pkgconfig
18
USES=		autoreconf libtool pathfix pkgconfig
19
PATHFIX_MAKEFILEIN=	Makefile.am
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
(-)audio/libxmp/Makefile (-1 / +1 lines)
Lines 12-18 COMMENT= Module rendering library for xmp Link Here
12
LICENSE=	LGPL21
12
LICENSE=	LGPL21
13
LICENSE_FILE=	${WRKSRC}/docs/COPYING.LIB
13
LICENSE_FILE=	${WRKSRC}/docs/COPYING.LIB
14
14
15
USES=		gmake
15
USES=		gmake pathfix
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
(-)audio/libxmp/files/patch-Makefile.in (-13 lines)
Removed Link Here
1
--- Makefile.in.orig	2016-07-16 11:29:48 UTC
2
+++ Makefile.in
3
@@ -146,8 +146,8 @@ install: all
4
 	@echo "Installing xmp.h..."
5
 	@$(INSTALL) -m644 include/xmp.h $(DESTDIR)$(INCLUDEDIR)
6
 	@echo "Installing libxmp.pc..."
7
-	@mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
8
-	@$(INSTALL) -m644 libxmp.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
9
+	@mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
10
+	@$(INSTALL) -m644 libxmp.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
11
 
12
 depend:
13
 	@echo Building dependencies...
(-)audio/opusfile/Makefile (-1 lines)
Lines 19-25 USES= autoreconf gmake libtool pathfix pkgconfig ssl Link Here
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
MAKE_JOBS_UNSAFE=	yes
21
MAKE_JOBS_UNSAFE=	yes
22
PATHFIX_MAKEFILEIN=	Makefile.am
23
22
24
PORTDOCS=	AUTHORS README.txt
23
PORTDOCS=	AUTHORS README.txt
25
24
(-)audio/rubberband/Makefile (-1 / +1 lines)
Lines 19-25 LIB_DEPENDS= libsndfile.so:audio/libsndfile \ Link Here
19
		libfftw3.so:math/fftw3
19
		libfftw3.so:math/fftw3
20
RUN_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
20
RUN_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
21
21
22
USES=		gmake pkgconfig tar:bzip2
22
USES=		gmake pathfix pkgconfig tar:bzip2
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
25
(-)audio/rubberband/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2012-10-28 10:30:09 UTC
2
+++ Makefile.in
3
@@ -32,7 +32,7 @@ INSTALL_LIBDIR		:= @prefix@/lib
4
 INSTALL_VAMPDIR		:= @prefix@/lib/vamp
5
 INSTALL_LADSPADIR	:= @prefix@/lib/ladspa
6
 INSTALL_LRDFDIR		:= @prefix@/share/ladspa/rdf
7
-INSTALL_PKGDIR		:= @prefix@/lib/pkgconfig
8
+INSTALL_PKGDIR		:= @prefix@/libdata/pkgconfig
9
 
10
 all:	bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
11
 
(-)audio/shout-idjc/Makefile (-1 lines)
Lines 20-26 LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ Link Here
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USES=		libtool pathfix pkgconfig autoreconf
22
USES=		libtool pathfix pkgconfig autoreconf
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
24
26
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
(-)audio/soundtouch/Makefile (-1 lines)
Lines 17-23 GNU_CONFIGURE= yes Link Here
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
19
USES=			autoreconf libtool pathfix
19
USES=			autoreconf libtool pathfix
20
PATHFIX_MAKEFILEIN=	Makefile.am
21
20
22
OPTIONS_DEFINE=	INTEGER_SAMPLES DOCS OPENMP
21
OPTIONS_DEFINE=	INTEGER_SAMPLES DOCS OPENMP
23
OPTIONS_DEFAULT=	${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/INTEGER_SAMPLES/}
22
OPTIONS_DEFAULT=	${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/INTEGER_SAMPLES/}
(-)audio/vamp-plugin-sdk/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
LIB_DEPENDS=	libsndfile.so:audio/libsndfile
15
LIB_DEPENDS=	libsndfile.so:audio/libsndfile
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USES=		gmake pkgconfig
18
USES=		gmake pathfix pkgconfig
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
21
post-install:
21
post-install:
(-)audio/vamp-plugin-sdk/files/patch-Makefile.in (-6 / +1 lines)
Lines 1-11 Link Here
1
--- Makefile.in.orig	2015-06-22 08:28:58 UTC
1
--- Makefile.in.orig	2015-06-22 08:28:58 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -90,11 +90,11 @@ INSTALL_HOSTSDK_LINK_DEV  = libvamp-host
3
@@ -94,7 +94,7 @@ INSTALL_PKGCONFIG	  = $(INSTALL_PREFIX)/
4
 INSTALL_HOSTSDK_STATIC    = libvamp-hostsdk.a
5
 INSTALL_HOSTSDK_LA        = libvamp-hostsdk.la
6
 
7
-INSTALL_PKGCONFIG	  = $(INSTALL_PREFIX)/lib/pkgconfig
8
+INSTALL_PKGCONFIG	  = $(INSTALL_PREFIX)/libdata/pkgconfig
9
 
4
 
10
 # Flags required to tell the compiler to create a dynamically loadable object
5
 # Flags required to tell the compiler to create a dynamically loadable object
11
 #
6
 #
(-)biology/htslib/Makefile (-1 / +2 lines)
Lines 17-26 TEST_DEPENDS= bash:shells/bash Link Here
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	samtools
18
GH_ACCOUNT=	samtools
19
19
20
USES=		autoreconf gmake perl5 shebangfix
20
USES=		autoreconf gmake pathfix perl5 shebangfix
21
USE_PERL5=	test
21
USE_PERL5=	test
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
PATHFIX_MAKEFILEIN=	Makefile
24
SHEBANG_FILES=	test/compare_sam.pl test/test.pl
25
SHEBANG_FILES=	test/compare_sam.pl test/test.pl
25
26
26
OPTIONS_DEFINE=		CURL
27
OPTIONS_DEFINE=		CURL
(-)biology/htslib/files/patch-Makefile (-7 / +7 lines)
Lines 1-4 Link Here
1
--- Makefile.orig	2015-12-15 16:34:33 UTC
1
--- Makefile.orig	2016-04-22 08:45:12 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -22,16 +22,7 @@
3
@@ -22,16 +22,7 @@
4
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Lines 17-23 Link Here
17
 
17
 
18
 # For now these don't work too well as samtools also needs to know to
18
 # For now these don't work too well as samtools also needs to know to
19
 # add -lbz2 and -llzma if linking against the static libhts.a library.
19
 # add -lbz2 and -llzma if linking against the static libhts.a library.
20
@@ -58,16 +49,10 @@ includedir  = $(prefix)/include
20
@@ -58,17 +49,11 @@ includedir  = $(prefix)/include
21
 libdir      = $(exec_prefix)/lib
21
 libdir      = $(exec_prefix)/lib
22
 libexecdir  = $(exec_prefix)/libexec
22
 libexecdir  = $(exec_prefix)/libexec
23
 datarootdir = $(prefix)/share
23
 datarootdir = $(prefix)/share
Lines 25-41 Link Here
25
+mandir      = $(prefix)/man
25
+mandir      = $(prefix)/man
26
 man1dir     = $(mandir)/man1
26
 man1dir     = $(mandir)/man1
27
 man5dir     = $(mandir)/man5
27
 man5dir     = $(mandir)/man5
28
-pkgconfigdir= $(libdir)/pkgconfig
28
 pkgconfigdir= $(prefix)/libdata/pkgconfig
29
-
29
 
30
-MKDIR_P = mkdir -p
30
-MKDIR_P = mkdir -p
31
-INSTALL = install -p
31
-INSTALL = install -p
32
-INSTALL_PROGRAM = $(INSTALL)
32
-INSTALL_PROGRAM = $(INSTALL)
33
-INSTALL_DATA    = $(INSTALL) -m 644
33
-INSTALL_DATA    = $(INSTALL) -m 644
34
-INSTALL_DIR     = $(MKDIR_P) -m 755
34
-INSTALL_DIR     = $(MKDIR_P) -m 755
35
+pkgconfigdir= $(exec_prefix)/libdata/pkgconfig
35
-
36
 
37
 # Set by config.mk if plugins are enabled
36
 # Set by config.mk if plugins are enabled
38
 plugindir =
37
 plugindir =
38
 
39
@@ -86,7 +71,7 @@ BUILT_TEST_PROGRAMS = \
39
@@ -86,7 +71,7 @@ BUILT_TEST_PROGRAMS = \
40
 	test/test-vcf-api \
40
 	test/test-vcf-api \
41
 	test/test-vcf-sweep
41
 	test/test-vcf-sweep
Lines 45-51 Link Here
45
 
45
 
46
 HTSPREFIX =
46
 HTSPREFIX =
47
 include htslib_vars.mk
47
 include htslib_vars.mk
48
@@ -361,7 +346,7 @@ installdirs:
48
@@ -360,7 +345,7 @@ installdirs:
49
 # and libhts.so.NN (used by client executables at runtime).
49
 # and libhts.so.NN (used by client executables at runtime).
50
 
50
 
51
 install-so: libhts.so installdirs
51
 install-so: libhts.so installdirs
(-)biology/jellyfish/Makefile (-7 / +1 lines)
Lines 17-23 BUILD_DEPENDS= yaggo:devel/yaggo Link Here
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
18
19
USES=		autoreconf compiler:c++11-lib gmake \
19
USES=		autoreconf compiler:c++11-lib gmake \
20
		libtool pkgconfig
20
		libtool pathfix pkgconfig
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
22
23
USE_GITHUB=	yes
23
USE_GITHUB=	yes
Lines 35-44 BROKEN_FreeBSD_9_i386= multiple code issues on i386 < 10.0-RELEASE Link Here
35
CONFIGURE_ARGS+=--without-sse
35
CONFIGURE_ARGS+=--without-sse
36
.endif
36
.endif
37
37
38
# configure does not support --with-pkgconfigdir
39
post-patch:
40
	@${REINPLACE_CMD} \
41
		-e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
42
		${WRKSRC}/Makefile.am
43
44
.include <bsd.port.post.mk>
38
.include <bsd.port.post.mk>
(-)biology/libgtextutils/Makefile (-6 / +1 lines)
Lines 10-16 COMMENT= Gordon's text utilities Link Here
10
10
11
LICENSE=	AGPLv3
11
LICENSE=	AGPLv3
12
12
13
USES=		autoreconf libtool pkgconfig
13
USES=		autoreconf libtool pathfix pkgconfig
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
16
16
Lines 19-27 GH_ACCOUNT= agordon Link Here
19
19
20
INSTALL_TARGET=	install-strip
20
INSTALL_TARGET=	install-strip
21
21
22
post-patch:
23
	@${REINPLACE_CMD} \
24
		's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
25
		${WRKSRC}/Makefile.am
26
27
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)chinese/librime/Makefile (-1 / +1 lines)
Lines 19-25 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ Link Here
19
		libopencc.so:chinese/opencc \
19
		libopencc.so:chinese/opencc \
20
		libyaml-cpp.so:devel/yaml-cpp
20
		libyaml-cpp.so:devel/yaml-cpp
21
21
22
USES=		cmake compiler:c++11-lib pkgconfig gettext perl5
22
USES=		cmake compiler:c++11-lib pathfix pkgconfig gettext perl5
23
USE_PERL5=	build patch
23
USE_PERL5=	build patch
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
USE_XORG=	xproto
25
USE_XORG=	xproto
(-)chinese/librime/files/patch-CMakeLists.txt (-9 lines)
Lines 9-23 Link Here
9
   # uninstall target
9
   # uninstall target
10
   configure_file(
10
   configure_file(
11
     "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
11
     "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
12
@@ -142,7 +142,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
13
       ${PROJECT_BINARY_DIR}/rime.pc
14
       @ONLY)
15
   install(FILES include/rime_api.h DESTINATION include)
16
-  install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
17
+  install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
18
   install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime)
19
   if(BUILD_DATA)
20
     install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir})
21
@@ -153,7 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
12
@@ -153,7 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
22
     file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml)
13
     file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml)
23
     install(FILES ${supplement_schema} DESTINATION ${pkgdatadir})
14
     install(FILES ${supplement_schema} DESTINATION ${pkgdatadir})
(-)chinese/pyzy/Makefile (-4 / +1 lines)
Lines 18-24 BROKEN= Unfetchable (google code has gone away) Link Here
18
18
19
LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
19
LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
20
20
21
USES=		compiler:c++11-lib gettext-runtime gmake libtool pkgconfig python:build shebangfix
21
USES=		compiler:c++11-lib gettext-runtime gmake libtool pathfix pkgconfig python:build shebangfix
22
SHEBANG_FILES=	data/db/android/create_db.py
22
SHEBANG_FILES=	data/db/android/create_db.py
23
USE_GNOME=	glib20
23
USE_GNOME=	glib20
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
Lines 47-55 OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc Link Here
47
post-extract-OPENPHRASE_DB-on:
47
post-extract-OPENPHRASE_DB-on:
48
	@${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase
48
	@${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase
49
49
50
post-patch:
51
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
52
53
post-install:
50
post-install:
54
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so
51
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so
55
52
(-)comms/hamlib/Makefile (-1 / +1 lines)
Lines 15-21 BUILD_DEPENDS= swig:devel/swig13 Link Here
15
LIB_DEPENDS=	libltdl.so:devel/libltdl
15
LIB_DEPENDS=	libltdl.so:devel/libltdl
16
16
17
INFO=		hamlib
17
INFO=		hamlib
18
USES=		autoreconf libtool:keepla pathfix perl5 pkgconfig python shebangfix tcl
18
USES=		autoreconf libtool:keepla pathfix perl5 pathfix pkgconfig python shebangfix tcl
19
USE_PYTHON=	py3kplist
19
USE_PYTHON=	py3kplist
20
SHEBANG_FILES=	bindings/perltest.pl
20
SHEBANG_FILES=	bindings/perltest.pl
21
USE_PERL5=	build run
21
USE_PERL5=	build run
(-)comms/hamlib/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2015-09-19 12:08:54 UTC
2
+++ Makefile.am
3
@@ -3,7 +3,7 @@
4
 aclocaldir = $(datadir)/aclocal
5
 aclocal_DATA = hamlib.m4
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = hamlib.pc
10
 
11
 EXTRA_DIST = PLAN TODO LICENSE hamlib.m4 hamlib.pc.in README.developer \
(-)comms/libirman/Makefile (-1 / +1 lines)
Lines 11-17 COMMENT= Library for Evation's Irman infrared receiver Link Here
11
11
12
LICENSE=	LGPL20
12
LICENSE=	LGPL20
13
13
14
USES=		gmake libtool tar:bzip2
14
USES=		gmake libtool pathfix tar:bzip2
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
(-)comms/libirman/files/patch-Makefile.in (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.in.orig	2015-08-18 19:51:04 UTC
1
--- Makefile.in.orig	2015-08-18 19:51:04 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -399,7 +399,7 @@ top_srcdir = @top_srcdir@
4
 AUTOMAKE_OPTIONS = foreign dist-bzip2
5
 ACLOCAL_AMFLAGS = -I m4
6
 dist_doc_DATA = README TECHNICAL
7
-pkgconfigdir = @libdir@/pkgconfig
8
+pkgconfigdir = @prefix@/libdata/pkgconfig
9
 dist_pkgconfig_DATA = libirman.pc
10
 EXTRA_DIST = COPYING.lib TECHNICAL libirman.pc.in
11
 EXTRA_LTLIBRARIES = libirman_sw.la
12
@@ -778,7 +778,7 @@ install-dist_sysconfDATA: $(dist_sysconf
3
@@ -778,7 +778,7 @@ install-dist_sysconfDATA: $(dist_sysconf
13
 	done | $(am__base_list) | \
4
 	done | $(am__base_list) | \
14
 	while read files; do \
5
 	while read files; do \
(-)comms/rtl-sdr/Makefile (-3 / +1 lines)
Lines 13-19 COMMENT= Commandline tool that performs SDR with RTL2832-based USB sticks Link Here
13
13
14
LICENSE=	GPLv2
14
LICENSE=	GPLv2
15
15
16
USES=		autoreconf gmake pkgconfig libtool tar:tgz
16
USES=		autoreconf gmake pkgconfig libtool pathfix tar:tgz
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
19
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
Lines 31-37 DOXYGEN_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile.am Link Here
31
post-patch:
31
post-patch:
32
	@${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \
32
	@${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \
33
		${WRKSRC}/Makefile.am
33
		${WRKSRC}/Makefile.am
34
	@${REINPLACE_CMD} 's|^pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
35
		${WRKSRC}/Makefile.am
36
34
37
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)comms/unixcw/Makefile (-1 / +1 lines)
Lines 24-30 CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \ Link Here
24
			--disable-alsa --disable-pulseaudio
24
			--disable-alsa --disable-pulseaudio
25
25
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
USES+=		gmake libtool ncurses pkgconfig
27
USES+=		gmake libtool ncurses pathfix pkgconfig
28
USE_CSTD=	gnu99
28
USE_CSTD=	gnu99
29
WRKSRC=		${WRKDIR}/unixcw-${PORTVERSION}
29
WRKSRC=		${WRKDIR}/unixcw-${PORTVERSION}
30
MAJOR_LIB_VER=	6
30
MAJOR_LIB_VER=	6
(-)comms/unixcw/files/patch-src_libcw_Makefile.in (-11 lines)
Removed Link Here
1
--- src/libcw/Makefile.in.orig	2015-10-06 17:17:18 UTC
2
+++ src/libcw/Makefile.in
3
@@ -676,7 +676,7 @@ libcw_test_internal_LDADD = -lm -lpthrea
4
 libcw_test_internal_CFLAGS = -rdynamic
5
 
6
 # target: libcw.pc
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = ${prefix}/libdata/pkgconfig
9
 
10
 # CLEANFILES extends list of files that need to be removed when
11
 # calling "make clean"
(-)databases/akonadi/Makefile (-3 / +1 lines)
Lines 17-23 LIB_DEPENDS= libboost_thread.so:devel/boost-libs Link Here
17
BUILD_DEPENDS=	xsltproc:textproc/libxslt
17
BUILD_DEPENDS=	xsltproc:textproc/libxslt
18
18
19
USES=		cmake:outsource execinfo kde:4 shared-mime-info \
19
USES=		cmake:outsource execinfo kde:4 shared-mime-info \
20
		compiler:c++11-lang tar:bzip2
20
		compiler:c++11-lang pathfix tar:bzip2
21
USE_KDE=	automoc4 soprano
21
USE_KDE=	automoc4 soprano
22
USE_QT4=	corelib dbus gui network qtestlib_build sql xml \
22
USE_QT4=	corelib dbus gui network qtestlib_build sql xml \
23
		moc_build qmake_build rcc_build uic_build
23
		moc_build qmake_build rcc_build uic_build
Lines 48-55 SQLITE_CMAKE_OFF= -DAKONADI_BUILD_QSQLITE=off Link Here
48
OPTIONS_DEFAULT=	MYSQL
48
OPTIONS_DEFAULT=	MYSQL
49
49
50
post-patch:
50
post-patch:
51
	${REINPLACE_CMD} -e '/akonadi.pc/ s|pkgconfig|../libdata/pkgconfig|' \
52
		${PATCH_WRKSRC}/CMakeLists.txt
53
	${REINPLACE_CMD} -e '/find_program/ s|mysqld|mysqld_safe ${LOCALBASE}/bin|g' \
51
	${REINPLACE_CMD} -e '/find_program/ s|mysqld|mysqld_safe ${LOCALBASE}/bin|g' \
54
		${PATCH_WRKSRC}/server/CMakeLists.txt
52
		${PATCH_WRKSRC}/server/CMakeLists.txt
55
	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
53
	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
(-)databases/libdrizzle/Makefile (-1 / +1 lines)
Lines 18-24 LIB_DEPENDS= libsqlite3.so:databases/sqlite3 Link Here
18
OPTIONS_DEFINE=	DOXYGEN EXAMPLES DOCS
18
OPTIONS_DEFINE=	DOXYGEN EXAMPLES DOCS
19
19
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USES=		gmake libtool
21
USES=		gmake libtool pathfix
22
CONFIGURE_ARGS+=--enable-libsqlite3
22
CONFIGURE_ARGS+=--enable-libsqlite3
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
(-)databases/libdrizzle/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- ./Makefile.in.orig	2010-03-12 12:09:51.000000000 -0500
2
+++ ./Makefile.in	2010-03-12 12:10:03.000000000 -0500
3
@@ -526,7 +526,7 @@
4
 	docs/doxygen.h \
5
 	tests/run.sh
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = support/libdrizzle.pc
10
 TESTS_ENVIRONMENT = ${top_srcdir}/tests/run.sh
11
 TESTS = $(check_PROGRAMS)
(-)databases/libmongo-client/Makefile (-1 lines)
Lines 19-24 GNU_CONFIGURE= yes Link Here
19
USES=		autoreconf libtool pkgconfig gmake pathfix
19
USES=		autoreconf libtool pkgconfig gmake pathfix
20
USE_GNOME=	glib20
20
USE_GNOME=	glib20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
PATHFIX_MAKEFILEIN=Makefile.am
23
22
24
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)databases/mdbtools/Makefile (-1 lines)
Lines 22-28 OPTIONS_SUB= yes Link Here
22
USES=		autoreconf bison iconv libtool pathfix pkgconfig
22
USES=		autoreconf bison iconv libtool pathfix pkgconfig
23
USE_GITHUB=	yes
23
USE_GITHUB=	yes
24
GH_ACCOUNT=	brianb
24
GH_ACCOUNT=	brianb
25
PATHFIX_MAKEFILEIN=	Makefile.am
26
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
27
USE_GNOME=	glib20
26
USE_GNOME=	glib20
28
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
(-)databases/opendbx/Makefile (-1 / +1 lines)
Lines 12-18 COMMENT= C library for accessing databases with a single API Link Here
12
12
13
LICENSE=	LGPL21
13
LICENSE=	LGPL21
14
14
15
USES=		gmake libtool readline
15
USES=		gmake libtool pathfix readline
16
16
17
CPPFLAGS+=	-I${LOCALBASE}/include
17
CPPFLAGS+=	-I${LOCALBASE}/include
18
LDFLAGS+=	-lpthread -L${WRKSRC}/lib -L${LOCALBASE}/lib
18
LDFLAGS+=	-lpthread -L${WRKSRC}/lib -L${LOCALBASE}/lib
(-)databases/opendbx/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- ./Makefile.in.orig	2012-06-10 18:33:53.000000000 -0300
2
+++ ./Makefile.in	2014-01-19 00:08:50.000000000 -0200
3
@@ -308,7 +308,7 @@
4
 	opendbx.spec \
5
 	ABOUT-NLS
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(exec_prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = opendbx.pc opendbxplus.pc
10
 all: config.h
11
 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
(-)databases/postgresql-libpqxx/Makefile (-1 / +1 lines)
Lines 17-23 LICENSE= BSD3CLAUSE Link Here
17
CONFLICTS=	postgresql-libpqxx-3.* postgresql-libpqxx3-3.*
17
CONFLICTS=	postgresql-libpqxx-3.* postgresql-libpqxx3-3.*
18
PORTSCOUT=	limit:^2\.
18
PORTSCOUT=	limit:^2\.
19
19
20
USES+=		gmake libtool pgsql python:build shebangfix
20
USES+=		gmake libtool pathfix pgsql python:build shebangfix
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
PLIST_SUB=	PORTVERSION=${PORTVERSION:R}
23
PLIST_SUB=	PORTVERSION=${PORTVERSION:R}
(-)databases/postgresql-libpqxx/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2011-09-12 11:39:56.000000000 +0200
2
+++ Makefile.in	2011-09-12 11:40:48.000000000 +0200
3
@@ -270,7 +270,7 @@
4
 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
5
 	stamp-h.in
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libpqxx.pc
10
 bin_SCRIPTS = pqxx-config
11
 all: all-recursive
(-)databases/postgresql-libpqxx3/Makefile (-1 / +1 lines)
Lines 16-22 COMMENT= New C++ interface for PostgreSQL Link Here
16
CONFLICTS=	postgresql-libpqxx-[2-4].*
16
CONFLICTS=	postgresql-libpqxx-[2-4].*
17
PORTSCOUT=	limit:^2\.
17
PORTSCOUT=	limit:^2\.
18
18
19
USES+=		gmake libtool pgsql pkgconfig python:build shebangfix
19
USES+=		gmake libtool pathfix pgsql pkgconfig python:build shebangfix
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
PLIST_SUB=	PORTVERSION=${PORTVERSION}
22
PLIST_SUB=	PORTVERSION=${PORTVERSION}
(-)databases/postgresql-libpqxx3/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2011-09-12 11:39:56.000000000 +0200
2
+++ Makefile.in	2011-09-12 11:40:48.000000000 +0200
3
@@ -270,7 +270,7 @@
4
 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
5
 	stamp-h.in
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libpqxx.pc
10
 bin_SCRIPTS = pqxx-config
11
 all: all-recursive
(-)databases/sqlite2/Makefile (-1 / +1 lines)
Lines 11-17 MAINTAINER= ports@FreeBSD.org Link Here
11
COMMENT=	SQL database engine in a C library
11
COMMENT=	SQL database engine in a C library
12
12
13
GNU_CONFIGURE=	yes
13
GNU_CONFIGURE=	yes
14
USES=		gmake libtool pkgconfig readline
14
USES=		gmake libtool pathfix pkgconfig readline
15
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
16
16
17
CONFIGURE_ARGS=	--with-hints=freebsd.hints
17
CONFIGURE_ARGS=	--with-hints=freebsd.hints
(-)databases/sqlite2/files/patch-Makefile.in (-13 / +9 lines)
Lines 1-6 Link Here
1
--- Makefile.in.orig	2005-04-23 18:43:23.000000000 -0400
1
--- Makefile.in.orig	2005-04-23 22:43:23 UTC
2
+++ Makefile.in	2015-03-26 18:36:07.358178000 -0400
2
+++ Makefile.in
3
@@ -38,7 +38,7 @@
3
@@ -38,7 +38,7 @@ RELEASE = @ALLOWRELEASE@
4
 
4
 
5
 # libtool compile/link/install
5
 # libtool compile/link/install
6
 LTCOMPILE = $(LIBTOOL) --mode=compile $(TCC)
6
 LTCOMPILE = $(LIBTOOL) --mode=compile $(TCC)
Lines 9-26 Link Here
9
 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
9
 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
10
 
10
 
11
 # Compiler options needed for programs that use the TCL library.
11
 # Compiler options needed for programs that use the TCL library.
12
@@ -471,8 +471,12 @@
12
@@ -474,6 +474,10 @@ install:	sqlite libsqlite.la sqlite.h
13
 	$(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin
13
 	$(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig; 
14
 	$(INSTALL) -d $(DESTDIR)$(prefix)/include
14
 	$(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig; 
15
 	$(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include
15
 
16
-	$(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig; 
17
-	$(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig; 
18
+	$(INSTALL) -d $(DESTDIR)/$(exec_prefix)/libdata/pkgconfig
19
+	$(INSTALL) -m 0644 sqlite.pc $(DESTDIR)/$(exec_prefix)/libdata/pkgconfig
20
+
21
+install-tcl:	libtclsqlite.la
16
+install-tcl:	libtclsqlite.la
22
+	$(INSTALL) -d $(DESTDIR)$(prefix)/lib/sqlite
17
+	$(INSTALL) -d $(DESTDIR)$(prefix)/lib/sqlite
23
+	$(LTINSTALL) libtclsqlite.la $(DESTDIR)$(prefix)/lib/sqlite
18
+	$(LTINSTALL) libtclsqlite.la $(DESTDIR)$(prefix)/lib/sqlite
24
 
19
+
25
 clean:	
20
 clean:	
26
 	rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
21
 	rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
22
 	rm -rf .libs .deps 
(-)databases/sqlrelay/Makefile (-1 / +2 lines)
Lines 14-20 LICENSE= LGPL20 Link Here
14
LIB_DEPENDS=	librudiments.so:devel/rudiments
14
LIB_DEPENDS=	librudiments.so:devel/rudiments
15
15
16
WANT_GNOME=	yes
16
WANT_GNOME=	yes
17
USES=		gmake libtool python
17
USES=		gmake libtool pathfix python
18
PATHFIX_MAKEFILEIN=	Makefile
18
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=		${SQLRELAY_CONFIGURE_ARGS} \
21
CONFIGURE_ARGS=		${SQLRELAY_CONFIGURE_ARGS} \
(-)databases/sqlrelay/files/patch-Makefile (-14 / +2 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2016-01-17 07:20:04 UTC
1
--- Makefile.orig	2016-01-17 07:20:04 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -30,16 +30,13 @@ install-doc:
3
@@ -30,9 +30,6 @@ install-doc:
4
 	cd doc $(AND) $(MAKE) install
4
 	cd doc $(AND) $(MAKE) install
5
 
5
 
6
 install-license:
6
 install-license:
Lines 9-27 Link Here
9
-	$(CHMOD) 0644 $(licensedir)/COPYING
9
-	$(CHMOD) 0644 $(licensedir)/COPYING
10
 
10
 
11
 install-pkgconfig:
11
 install-pkgconfig:
12
-	$(MKINSTALLDIRS) $(libdir)/pkgconfig
12
 	$(MKINSTALLDIRS) $(libdir)/pkgconfig
13
-	$(CP) sqlrelay-c.pc $(libdir)/pkgconfig/$(SQLRELAY)-c.pc
14
-	$(CHMOD) 0644 $(libdir)/pkgconfig/$(SQLRELAY)-c.pc
15
-	$(CP) sqlrelay-c++.pc $(libdir)/pkgconfig/$(SQLRELAY)-c++.pc
16
-	$(CHMOD) 0644 $(libdir)/pkgconfig/$(SQLRELAY)-c++.pc
17
+	$(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig
18
+	$(CP) sqlrelay-c.pc $(prefix)/libdata/pkgconfig/sqlrelay-c.pc
19
+	$(CHMOD) 0644 $(prefix)/libdata/pkgconfig/sqlrelay-c.pc
20
+	$(CP) sqlrelay-c++.pc $(prefix)/libdata/pkgconfig/sqlrelay-c++.pc
21
+	$(CHMOD) 0644 $(prefix)/libdata/pkgconfig/sqlrelay-c++.pc
22
 
23
 uninstall: $(UNINSTALLSUBDIRS)
24
 	$(RMTREE) $(libexecdir)
25
@@ -63,7 +60,6 @@ uninstall-doc:
13
@@ -63,7 +60,6 @@ uninstall-doc:
26
 	cd doc $(AND) $(MAKE) uninstall
14
 	cd doc $(AND) $(MAKE) uninstall
27
 
15
 
(-)databases/tokyocabinet/Makefile (-5 / +2 lines)
Lines 14-20 LICENSE= LGPL21 Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USES=		gmake
17
USES=		pathfix gmake
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
19
20
PORTDOCS=	*
20
PORTDOCS=	*
Lines 66-76 SHLIB_VER_MAJ= 9 Link Here
66
66
67
PLIST_SUB+=	SHLIB_VER=${SHLIB_VER} SHLIB_VER_MAJ=${SHLIB_VER_MAJ}
67
PLIST_SUB+=	SHLIB_VER=${SHLIB_VER} SHLIB_VER_MAJ=${SHLIB_VER_MAJ}
68
68
69
# Because gnomehack will search "(libdir)" and it doesn't work, we need
70
# to patch it manually.
71
post-patch:
69
post-patch:
72
	${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
70
	${REINPLACE_CMD} -e 's|@datarootdir@|@datarootdir@/doc|' \
73
		-e 's|@datarootdir@|@datarootdir@/doc|' \
74
		${WRKSRC}/Makefile.in
71
		${WRKSRC}/Makefile.in
75
72
76
post-patch-FASTEST-on:
73
post-patch-FASTEST-on:
(-)databases/tokyotyrant/Makefile (-5 / +1 lines)
Lines 15-21 LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet Link Here
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
USES=		gmake
18
USES=		gmake pathfix
19
USE_RC_SUBR=	ttserver
19
USE_RC_SUBR=	ttserver
20
20
21
OPTIONS_DEFINE=	LUA
21
OPTIONS_DEFINE=	LUA
Lines 29-39 LUA_CFLAGS+= -I${LUA_INCDIR} Link Here
29
LUA_CPPFLAGS+=	-I${LUA_INCDIR}
29
LUA_CPPFLAGS+=	-I${LUA_INCDIR}
30
LUA_USES=		lua
30
LUA_USES=		lua
31
31
32
# Since gnomehack only works for "(libdir)" case, we need to patch it
33
# manually.
34
post-patch:
32
post-patch:
35
	${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g' \
36
		${WRKSRC}/Makefile.in
37
	${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g' ${WRKSRC}/configure
33
	${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g' ${WRKSRC}/configure
38
34
39
post-install:
35
post-install:
(-)devel/babeltrace/Makefile (-3 / +1 lines)
Lines 22-28 LIB_DEPENDS= libpopt.so:devel/popt \ Link Here
22
USE_GITHUB=	yes
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	efficios
23
GH_ACCOUNT=	efficios
24
24
25
USES=		autoreconf:build bison gettext-runtime gmake libtool pkgconfig
25
USES=		autoreconf:build bison gettext-runtime gmake libtool pathfix pkgconfig
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--disable-debug-info
27
CONFIGURE_ARGS=	--disable-debug-info
28
USE_GNOME=	glib20
28
USE_GNOME=	glib20
Lines 41-48 BUILD_DEPENDS+= flex>=2.5.35:textproc/flex Link Here
41
post-patch:
41
post-patch:
42
	@${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \
42
	@${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \
43
		${WRKSRC}/Makefile.am
43
		${WRKSRC}/Makefile.am
44
	@${REINPLACE_CMD} -e 's|/pkgconfig|/../libdata/pkgconfig|' \
45
		${WRKSRC}/Makefile.am
46
	@${REINPLACE_CMD} -e 's|machine\/endian|sys\/endian|' \
44
	@${REINPLACE_CMD} -e 's|machine\/endian|sys\/endian|' \
47
		${WRKSRC}/include/babeltrace/endian.h
45
		${WRKSRC}/include/babeltrace/endian.h
48
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
46
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
(-)devel/c-unit/Makefile (-2 lines)
Lines 24-31 INSTALL_TARGET= install-strip Link Here
24
DATADIR=	${PREFIX}/share/CUnit
24
DATADIR=	${PREFIX}/share/CUnit
25
EXAMPLESDIR=	${PREFIX}/share/examples/CUnit
25
EXAMPLESDIR=	${PREFIX}/share/examples/CUnit
26
26
27
PATHFIX_MAKEFILEIN=	Makefile.am
28
29
OPTIONS_DEFINE=		AUT BAS CON CUR DEB EXA ITE MEM
27
OPTIONS_DEFINE=		AUT BAS CON CUR DEB EXA ITE MEM
30
OPTIONS_DEFAULT=	AUT BAS CON
28
OPTIONS_DEFAULT=	AUT BAS CON
31
OPTIONS_SUB=		yes
29
OPTIONS_SUB=		yes
(-)devel/cld/Makefile (-1 / +1 lines)
Lines 14-20 COMMENT= Chromium compact language detector library Link Here
14
14
15
BROKEN=		Unfetchable (google code has gone away)
15
BROKEN=		Unfetchable (google code has gone away)
16
16
17
USES=		libtool
17
USES=		libtool pathfix
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
(-)devel/cld/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2012-05-23 14:35:00.000000000 +0400
2
+++ Makefile.in	2013-02-08 15:37:27.000000000 +0400
3
@@ -282,7 +282,7 @@
4
 
5
 # autogen.sh and cleanrepo.sh are script for maintainance use. Not for distribution.
6
 # dist_noinst_SCRIPTS = autogen.sh
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = ${exec_prefix}/libdata/pkgconfig
9
 pkgconfig_DATA = cld.pc
10
 basic_test_SOURCES = tests/basic_test.cc
11
 basic_test_CXXFLAGS = -Wall -fPIC -Isrc/ -I../src -O2 -DCLD_WINDOWS
(-)devel/codeblocks/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2016-01-23 16:43:26 UTC
2
+++ Makefile.am
3
@@ -10,7 +10,7 @@ endif
4
 
5
 am__tar = @am__tar@ $(ADDITIONAL_MAKE_DIST_OPTIONS)
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = codeblocks.pc
10
 
11
 EXTRA_DIST = bootstrap \
(-)devel/codeblocks/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2016-05-06 22:17:30 UTC
2
+++ Makefile.in
3
@@ -455,7 +455,7 @@ SUBDIRS = src
4
 ACLOCAL_AMFLAGS = -I m4
5
 @KEEP_DLLS_FALSE@ADDITIONAL_MAKE_DIST_OPTIONS = --exclude=".svn" --exclude="*.dll"
6
 @KEEP_DLLS_TRUE@ADDITIONAL_MAKE_DIST_OPTIONS = --exclude=".svn"
7
-pkgconfigdir = $(prefix)/libdata/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = codeblocks.pc
10
 EXTRA_DIST = bootstrap \
11
 		codeblocks.spec \
(-)devel/codeblocks/files/patch-src_plugins_contrib_SpellChecker_hunspell_Makefile.am (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/SpellChecker/hunspell/Makefile.am.orig	2016-05-06 22:18:30 UTC
2
+++ src/plugins/contrib/SpellChecker/hunspell/Makefile.am
3
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
4
 
5
 SUBDIRS= intl po src man m4 tests
6
 
7
-pkgconfdir = $(libdir)/pkgconfig
8
+pkgconfdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconf_DATA = hunspell.pc
10
 
11
 EXTRA_DIST = BUGS README.myspell AUTHORS.myspell license.myspell license.hunspell \
(-)devel/codeblocks/files/patch-src_plugins_contrib_SpellChecker_hunspell_Makefile.in.org (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/SpellChecker/hunspell/Makefile.in.org.orig	2016-05-06 22:19:18 UTC
2
+++ src/plugins/contrib/SpellChecker/hunspell/Makefile.in.org
3
@@ -429,7 +429,7 @@ top_builddir = @top_builddir@
4
 top_srcdir = @top_srcdir@
5
 ACLOCAL_AMFLAGS = -I m4
6
 SUBDIRS = intl po src man m4 tests
7
-pkgconfdir = $(libdir)/pkgconfig
8
+pkgconfdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconf_DATA = hunspell.pc
10
 EXTRA_DIST = BUGS README.myspell AUTHORS.myspell license.myspell license.hunspell \
11
         ChangeLog.O COPYING.MPL COPYING.LGPL hunspell.pc.in
(-)devel/codeblocks/files/patch-src_plugins_contrib_wxContribItems_Makefile.am (-9 lines)
Removed Link Here
1
--- src/plugins/contrib/wxContribItems/Makefile.am.orig	2016-05-06 22:22:42 UTC
2
+++ src/plugins/contrib/wxContribItems/Makefile.am
3
@@ -9,5 +9,5 @@ SUBDIRS = wxchart wxFlatNotebook wxthing
4
 
5
 EXTRA_DIST = $(srcdir)/*.cbp $(TREELIST_DIST)
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = wxsmith-contrib.pc cb_wxcontrib.pc cb_wxchartctrl.pc cb_wxcustombutton.pc cb_wxflatnotebook.pc cb_wximagepanel.pc cb_wxspeedbutton.pc cb_wxKWIC.pc $(TREELIST_PC) cb_wxled.pc cb_wxmathplot.pc
(-)devel/codeblocks/files/patch-src_plugins_contrib_wxContribItems_Makefile.in (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/wxContribItems/Makefile.in.orig	2016-05-06 22:22:44 UTC
2
+++ src/plugins/contrib/wxContribItems/Makefile.in
3
@@ -444,7 +444,7 @@ top_srcdir = @top_srcdir@
4
 @HAVE_WX29_TRUE@TREELIST_DIST = $(srcdir)/wxTreeList/src/treelistctrl.cpp $(srcdir)/wxTreeList/include/wx/treelistctrl.h
5
 SUBDIRS = wxchart wxFlatNotebook wxthings wxImagePanel wxSpeedButton KWIC $(TREELIST_DIR) wxled wxmathplot .
6
 EXTRA_DIST = $(srcdir)/*.cbp $(TREELIST_DIST)
7
-pkgconfigdir = $(prefix)/libdata/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = wxsmith-contrib.pc cb_wxcontrib.pc cb_wxchartctrl.pc cb_wxcustombutton.pc cb_wxflatnotebook.pc cb_wximagepanel.pc cb_wxspeedbutton.pc cb_wxKWIC.pc $(TREELIST_PC) cb_wxled.pc cb_wxmathplot.pc
10
 all: all-recursive
11
 
(-)devel/codeblocks/files/patch-src_plugins_contrib_wxSmithAui_Makefile.am (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/wxSmithAui/Makefile.am.orig	2016-05-06 22:24:09 UTC
2
+++ src/plugins/contrib/wxSmithAui/Makefile.am
3
@@ -45,7 +45,7 @@ libwxSmithAui_la_SOURCES = \
4
 ./wxAuiToolBar/wxSmithAuiToolBar.cpp \
5
 ./wxSmithAui.cpp
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = wxsmithaui.pc
10
 
11
 noinst_HEADERS = \
(-)devel/codeblocks/files/patch-src_plugins_contrib_wxSmithAui_Makefile.in (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/wxSmithAui/Makefile.in.orig	2016-05-06 22:24:06 UTC
2
+++ src/plugins/contrib/wxSmithAui/Makefile.in
3
@@ -478,7 +478,7 @@ libwxSmithAui_la_SOURCES = \
4
 ./wxAuiToolBar/wxSmithAuiToolBar.cpp \
5
 ./wxSmithAui.cpp
6
 
7
-pkgconfigdir = $(prefix)/libdata/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = wxsmithaui.pc
10
 noinst_HEADERS = \
11
 ./wxAuiManager/wxsAuiManager.h \
(-)devel/codeblocks/files/patch-src_plugins_contrib_wxSmith_Makefile.am (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/wxSmith/Makefile.am.orig	2016-05-06 22:22:03 UTC
2
+++ src/plugins/contrib/wxSmith/Makefile.am
3
@@ -70,7 +70,7 @@ noinst_HEADERS = \
4
 ./wxsversionconverter.h \
5
 ./wxssettings.h
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = wxsmith.pc
10
 
11
 EXTRA_DIST = \
(-)devel/codeblocks/files/patch-src_plugins_contrib_wxSmith_Makefile.in (-11 lines)
Removed Link Here
1
--- src/plugins/contrib/wxSmith/Makefile.in.orig	2016-05-06 22:20:29 UTC
2
+++ src/plugins/contrib/wxSmith/Makefile.in
3
@@ -546,7 +546,7 @@ noinst_HEADERS = \
4
 ./wxsversionconverter.h \
5
 ./wxssettings.h
6
 
7
-pkgconfigdir = $(prefix)/libdata/pkgconfig
8
+pkgconfigdir = ${STAGEDIR}${PREFIX}/libdata/pkgconfig
9
 pkgconfig_DATA = wxsmith.pc
10
 EXTRA_DIST = \
11
 $(srcdir)/*.cbp \
(-)devel/compiz-bcop/Makefile (-4 / +1 lines)
Lines 15-21 RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ Link Here
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
17
18
USES=		pkgconfig tar:bzip2
18
USES=		pathfix pkgconfig tar:bzip2
19
USE_GNOME=	libxslt
19
USE_GNOME=	libxslt
20
20
21
post-patch:
21
post-patch:
Lines 23-30 post-patch: Link Here
23
		-e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
23
		-e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
24
		-e 's|getopt|${LOCALBASE}/bin/getopt|' \
24
		-e 's|getopt|${LOCALBASE}/bin/getopt|' \
25
		${WRKSRC}/src/bcop.in
25
		${WRKSRC}/src/bcop.in
26
	@${REINPLACE_CMD} -e \
27
		's|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
28
		${WRKSRC}/Makefile.in
29
26
30
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)devel/cpputest/Makefile (-1 / +1 lines)
Lines 12-18 LICENSE= BSD3CLAUSE Link Here
12
12
13
USE_GITHUB=	yes
13
USE_GITHUB=	yes
14
14
15
USES=		autoreconf libtool
15
USES=		autoreconf libtool pathfix
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
17
18
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)devel/cpputest/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2015-05-04 05:36:02 UTC
2
+++ Makefile.am
3
@@ -21,7 +21,7 @@ endif
4
 
5
 TESTS = $(check_PROGRAMS)
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = cpputest.pc
10
 
11
 EXTRA_DIST = \
(-)devel/cunit/Makefile (-2 lines)
Lines 40-47 PORTDATA= * Link Here
40
PORTDOCS=	*
40
PORTDOCS=	*
41
PORTEXAMPLES=	*
41
PORTEXAMPLES=	*
42
42
43
PATHFIX_MAKEFILEIN=	Makefile.am
44
45
AUTOMATED_CONFIGURE_ENABLE=	automated
43
AUTOMATED_CONFIGURE_ENABLE=	automated
46
BASIC_CONFIGURE_ENABLE=	basic
44
BASIC_CONFIGURE_ENABLE=	basic
47
CONSOLE_CONFIGURE_ENABLE=	console
45
CONSOLE_CONFIGURE_ENABLE=	console
(-)devel/dbus-c++/Makefile (-4 / +1 lines)
Lines 20-26 USE_GITHUB= yes Link Here
20
GH_ACCOUNT=	andreas-volz
20
GH_ACCOUNT=	andreas-volz
21
GH_PROJECT=	dbus-cplusplus
21
GH_PROJECT=	dbus-cplusplus
22
22
23
USES=		autoreconf compiler:c++11-lib gettext gmake libtool localbase pkgconfig
23
USES=		autoreconf compiler:c++11-lib gettext gmake libtool localbase pathfix pkgconfig
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
USE_GNOME=	glib20
25
USE_GNOME=	glib20
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
Lines 32-40 CONFIGURE_ARGS= --prefix=${LOCALBASE} \ Link Here
32
		--disable-examples \
32
		--disable-examples \
33
		--disable-doxygen-docs
33
		--disable-doxygen-docs
34
34
35
post-patch:
36
	@${REINPLACE_CMD} 's|^pkgconfigdir = .*|pkgconfigdir=$${prefix}/libdata/pkgconfig|' ${WRKSRC}/Makefile.am
37
38
post-install:
35
post-install:
39
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbus-c++-1.so
36
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbus-c++-1.so
40
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbus-c++-glib-1.so
37
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbus-c++-glib-1.so
(-)devel/ding-libs/Makefile (-2 / +1 lines)
Lines 17-23 GNU_CONFIGURE= yes Link Here
17
CPPFLAGS+=	-I${LOCALBASE}/include
17
CPPFLAGS+=	-I${LOCALBASE}/include
18
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB} -lintl
18
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB} -lintl
19
19
20
USES=		autoreconf iconv gettext libtool pkgconfig
20
USES=		autoreconf iconv gettext libtool pathfix pkgconfig
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
23
23
Lines 26-32 CONFIGURE_ENV+= DOXYGEN="" Link Here
26
OPTIONS_DEFINE=	DOCS
26
OPTIONS_DEFINE=	DOCS
27
27
28
post-patch:
28
post-patch:
29
	@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.am
30
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/collection/collection_tools.c \
29
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/collection/collection_tools.c \
31
		${WRKSRC}/refarray/ref_array.c
30
		${WRKSRC}/refarray/ref_array.c
32
	@${REINPLACE_CMD} -e 's|git log -1 &>/dev/null|true|g' \
31
	@${REINPLACE_CMD} -e 's|git log -1 &>/dev/null|true|g' \
(-)devel/editline/Makefile (-3 / +1 lines)
Lines 9-15 COMMENT= Minix editline: A free readline() for UNIX Link Here
9
9
10
LICENSE=	BSD4CLAUSE
10
LICENSE=	BSD4CLAUSE
11
11
12
USES=		autoreconf libtool ncurses
12
USES=		autoreconf libtool ncurses pathfix
13
USE_GITHUB=	yes
13
USE_GITHUB=	yes
14
GH_ACCOUNT=	troglobit
14
GH_ACCOUNT=	troglobit
15
15
Lines 20-27 INSTALL_TARGET= install-strip Link Here
20
PORTDOCS=	*
20
PORTDOCS=	*
21
21
22
post-patch:
22
post-patch:
23
	${REINPLACE_CMD} '/^pkgconfigdir/s|=.*|= ${PREFIX}/libdata/pkgconfig|' \
24
		${WRKSRC}/Makefile.am
25
	# rename to libeditline.3 to avoid conflict with libedit
23
	# rename to libeditline.3 to avoid conflict with libedit
26
	${REINPLACE_CMD} 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.am
24
	${REINPLACE_CMD} 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.am
27
	cd ${WRKSRC}/man; ${MV} editline.3 libeditline.3
25
	cd ${WRKSRC}/man; ${MV} editline.3 libeditline.3
(-)devel/efl/Makefile (-5 lines)
Lines 152-162 LIB_DEPENDS+= libluajit-5.1.so:lang/luajit Link Here
152
PLIST_SUB+=			ELUA=""
152
PLIST_SUB+=			ELUA=""
153
.endif
153
.endif
154
154
155
pre-patch:
156
	@${REINPLACE_CMD} -e \
157
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
158
		${WRKSRC}/Makefile.am
159
160
post-stage:
155
post-stage:
161
	${RM} -rf ${STAGEDIR}${PREFIX}/share/gdb
156
	${RM} -rf ${STAGEDIR}${PREFIX}/share/gdb
162
	for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \
157
	for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \
(-)devel/flatzebra/Makefile (-1 / +1 lines)
Lines 13-19 COMMENT= Generic game engine for 2D double-buffering animation Link Here
13
GNU_CONFIGURE=	yes
13
GNU_CONFIGURE=	yes
14
CONFIGURE_ARGS=	--includedir=${PREFIX}/include
14
CONFIGURE_ARGS=	--includedir=${PREFIX}/include
15
15
16
USES=		pkgconfig libtool
16
USES=		pathfix pkgconfig libtool
17
USE_SDL=	sdl mixer image
17
USE_SDL=	sdl mixer image
18
18
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
(-)devel/flatzebra/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2009-08-21 08:55:05.575153056 +0000
2
+++ Makefile.in	2009-08-21 08:56:07.604907117 +0000
3
@@ -204,7 +204,7 @@
4
 top_builddir = @top_builddir@
5
 top_srcdir = @top_srcdir@
6
 SUBDIRS = src
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = $(PACKAGE)-$(API).pc
10
 doc_DATA = \
11
 	AUTHORS \
(-)devel/google-gdata/Makefile (-1 / +2 lines)
Lines 16-22 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/Newtonsoft.Json.pc:devel/newtonsof Link Here
16
USE_GITHUB=	yes
16
USE_GITHUB=	yes
17
GH_TUPLE=	google:google-gdata:edcd096379
17
GH_TUPLE=	google:google-gdata:edcd096379
18
18
19
USES=		dos2unix gmake mono
19
USES=		dos2unix gmake mono pathfix
20
PATHFIX_MAKEFILEIN=	Makefile
20
WRKSRC_SUBDIR=	clients/cs
21
WRKSRC_SUBDIR=	clients/cs
21
DOS2UNIX_FILES=	${WRKSRC}/Makefile ${WRKSRC}/misc/gdata-sharp-core.pc.in
22
DOS2UNIX_FILES=	${WRKSRC}/Makefile ${WRKSRC}/misc/gdata-sharp-core.pc.in
22
MAKE_ARGS=	CSC=${LOCALBASE}/bin/mcs
23
MAKE_ARGS=	CSC=${LOCALBASE}/bin/mcs
(-)devel/google-gdata/files/patch-Makefile (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.orig	2016-10-16 13:47:41 UTC
1
--- Makefile.orig	2016-10-16 13:47:41 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -5,7 +5,7 @@ DEFINES=/d:TRACE
4
 
5
 VERSION=$(shell egrep AssemblyVersion version/AssemblyVersion.cs | egrep -o \([[:digit:]]\.\)+[[:digit:]]+)
6
 PREFIX=/usr/local
7
-PKGCONFIGDIR = $(PREFIX)/lib/pkgconfig
8
+PKGCONFIGDIR = $(PREFIX)/libdata/pkgconfig
9
 
10
 CORELIBS= \
11
   Google.GData.Client.dll \
12
@@ -33,7 +33,7 @@ ALLLIBS = \
3
@@ -33,7 +33,7 @@ ALLLIBS = \
13
 
4
 
14
 UNINSTALLLIBS = $(basename $(ALLLIBS))
5
 UNINSTALLLIBS = $(basename $(ALLLIBS))
(-)devel/gumbo/Makefile (-1 lines)
Lines 18-24 USES= autoreconf gmake pathfix libtool Link Here
18
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
PATHFIX_MAKEFILEIN=Makefile.am
22
21
23
post-install:
22
post-install:
24
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgumbo.so.1.0.0
23
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgumbo.so.1.0.0
(-)devel/hyperscan/Makefile (-6 / +1 lines)
Lines 16-22 BUILD_DEPENDS= ragel:devel/ragel Link Here
16
16
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	01org
18
GH_ACCOUNT=	01org
19
USES=	compiler:c++11-lib cmake:outsource python:build pkgconfig
19
USES=	compiler:c++11-lib cmake:outsource pathfix python:build pkgconfig
20
ONLY_FOR_ARCHS=	amd64
20
ONLY_FOR_ARCHS=	amd64
21
ONLY_FOR_ARCHS_REASON=	SSSE3 is required for work
21
ONLY_FOR_ARCHS_REASON=	SSSE3 is required for work
22
22
Lines 52-60 PLIST_SUB+= SHARED="" \ Link Here
52
PLIST_SUB+=	SHARED="@comment "
52
PLIST_SUB+=	SHARED="@comment "
53
.endif
53
.endif
54
54
55
post-stage:
56
	${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/libhs.pc \
57
		${STAGEDIR}/${PREFIX}/libdata/pkgconfig/
58
	${RMDIR} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/
59
60
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)devel/isl/Makefile (-4 / +2 lines)
Lines 17-26 LIB_DEPENDS= libgmp.so:math/gmp Link Here
17
CONFIGURE_ARGS=	--with-gmp-prefix=${LOCALBASE}
17
CONFIGURE_ARGS=	--with-gmp-prefix=${LOCALBASE}
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
20
USES=		libtool tar:xz
20
USES=		libtool pathfix tar:xz
21
PATHFIX_MAKEFILEIN=	configure
21
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
22
23
23
post-patch:
24
	@${REINPLACE_CMD} -e 's@pkgconfig_libdir=.*@pkgconfig_libdir=$${prefix}/libdata/pkgconfig@' ${WRKSRC}/configure
25
26
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)devel/ivykis/Makefile (-4 / +1 lines)
Lines 10-16 COMMENT= Asynchronous I/O readiness notification library Link Here
10
10
11
LICENSE=	LGPL21
11
LICENSE=	LGPL21
12
12
13
USES=		libtool pkgconfig
13
USES=		libtool pathfix pkgconfig
14
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
16
Lines 18-26 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	buytenh
18
GH_ACCOUNT=	buytenh
19
19
20
post-stage:
20
post-stage:
21
	${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
22
	${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/ivykis.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ivykis.pc
23
	${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
24
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libivykis.so.0.4.2
21
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libivykis.so.0.4.2
25
22
26
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)devel/ivykis/files/patch-misc_Makefile.am (-7 lines)
Removed Link Here
1
--- misc/Makefile.am.orig	2015-10-17 19:07:02 UTC
2
+++ misc/Makefile.am
3
@@ -1,3 +1,3 @@
4
-pkgconfigdir		= $(libdir)/pkgconfig
5
+pkgconfigdir		= $(libdatadir)/pkgconfig
6
 
7
 pkgconfig_DATA		= ivykis.pc
(-)devel/lasi/Makefile (-1 / +2 lines)
Lines 16-22 LIB_DEPENDS= libltdl.so:devel/libltdl Link Here
16
16
17
OPTIONS_DEFINE=	DOCS EXAMPLES
17
OPTIONS_DEFINE=	DOCS EXAMPLES
18
18
19
USES=		cmake pkgconfig
19
USES=		cmake pathfix pkgconfig
20
PATHFIX_CMAKELISTSTXT=	pkg-config.cmake
20
USE_GNOME=	pango
21
USE_GNOME=	pango
21
PKG_CONFIG_PATH=	${PREFIX}/libdata/pkgconfig
22
PKG_CONFIG_PATH=	${PREFIX}/libdata/pkgconfig
22
CONFIGURE_ENV+=	PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
23
CONFIGURE_ENV+=	PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
(-)devel/lasi/files/patch-cmake+modules+pkg-config.cmake (-11 lines)
Removed Link Here
1
--- cmake/modules/pkg-config.cmake.orig	2008-12-31 14:38:25.000000000 -0500
2
+++ cmake/modules/pkg-config.cmake	2008-12-31 14:42:58.000000000 -0500
3
@@ -6,7 +6,7 @@
4
 if(PKG_CONFIG_EXECUTABLE)
5
   message(STATUS "Looking for pkg-config - found")
6
   set(pkg_config_true "")
7
-  set(PKG_CONFIG_DIR ${libdir}/pkgconfig)
8
+  set(PKG_CONFIG_DIR ${exec_prefix}/libdata/pkgconfig)
9
 else(PKG_CONFIG_EXECUTABLE)
10
   message(STATUS "Looking for pkg-config - not found")
11
   set(pkg_config_true "#")
(-)devel/liballium/Makefile (-1 lines)
Lines 14-20 GH_TAGNAME= 0c9b50f Link Here
14
14
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
USES=		autoreconf libtool pathfix pkgconfig tar:bzip2
16
USES=		autoreconf libtool pathfix pkgconfig tar:bzip2
17
PATHFIX_MAKEFILEIN=Makefile.am
18
INSTALL_TARGET=	install-strip
17
INSTALL_TARGET=	install-strip
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
19
(-)devel/libbrotli/Makefile (-1 / +1 lines)
Lines 21-27 GH_PROJECT= brotli:brotli Link Here
21
GH_TAGNAME=	${BROTLI_VERSION}:brotli
21
GH_TAGNAME=	${BROTLI_VERSION}:brotli
22
GH_SUBDIR=	brotli:brotli
22
GH_SUBDIR=	brotli:brotli
23
23
24
USES=		pkgconfig autoreconf libtool compiler:c++0x
24
USES=		pkgconfig autoreconf libtool compiler:c++0x pathfix
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
(-)devel/libbrotli/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2016-04-16 19:40:04.016418000 -0400
2
+++ Makefile.am	2016-04-16 19:40:13.154082000 -0400
3
@@ -41,7 +41,7 @@
4
 # install headers in $(includedir) with subdirs
5
 nobase_include_HEADERS = $(DECODEHEADERS) $(ENCODEHEADERS)
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(libdir)/../libdata/pkgconfig
9
 pkgconfig_DATA = libbrotlienc.pc libbrotlidec.pc
10
 pkgincludedir= $(includedir)/brotli
11
 pkginclude_HEADERS = 
(-)devel/libcfu/Makefile (-1 lines)
Lines 15-21 GH_ACCOUNT= crees Link Here
15
GH_TAGNAME=	947dba4
15
GH_TAGNAME=	947dba4
16
16
17
USES=		autoreconf makeinfo pkgconfig pathfix libtool
17
USES=		autoreconf makeinfo pkgconfig pathfix libtool
18
PATHFIX_MAKEFILEIN=	Makefile.am
19
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
20
19
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
(-)devel/libdlna/Makefile (-1 / +2 lines)
Lines 17-23 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
17
LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
17
LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
18
18
19
HAS_CONFIGURE=	yes
19
HAS_CONFIGURE=	yes
20
USES=		gmake localbase pkgconfig tar:bzip2
20
USES=		gmake localbase pathfix pkgconfig tar:bzip2
21
PATHFIX_MAKEFILEIN=	Makefile
21
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
22
MAKE_JOBS_UNSAFE=	yes
23
MAKE_JOBS_UNSAFE=	yes
23
24
(-)devel/libdlna/files/patch-Makefile (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.orig	2007-11-26 20:47:43 UTC
1
--- Makefile.orig	2007-11-26 20:47:43 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -4,7 +4,7 @@ endif
4
 include config.mak
5
 
6
 DISTFILE = libdlna-$(VERSION).tar.bz2
7
-PKGCONFIG_DIR = $(libdir)/pkgconfig
8
+PKGCONFIG_DIR = $(prefix)/libdata/pkgconfig
9
 PKGCONFIG_FILE = libdlna.pc
10
 
11
 LIBTEST = test-libdlna
12
@@ -19,7 +19,7 @@ EXTRADIST = AUTHORS \
3
@@ -19,7 +19,7 @@ EXTRADIST = AUTHORS \
13
 SUBDIRS = src \
4
 SUBDIRS = src \
14
 
5
 
(-)devel/libee/Makefile (-1 / +1 lines)
Lines 16-22 MAKE_JOBS_UNSAFE= yes Link Here
16
16
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
19
USES=		libtool
19
USES=		libtool pathfix
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	LIBESTR_CFLAGS="-I${LOCALBASE}/include" LIBESTR_LIBS="-L${LOCALBASE}/lib -lestr"
21
CONFIGURE_ENV=	LIBESTR_CFLAGS="-I${LOCALBASE}/include" LIBESTR_LIBS="-L${LOCALBASE}/lib -lestr"
22
CONFIGURE_ARGS+=	--prefix="${PREFIX}" --disable-testbench
22
CONFIGURE_ARGS+=	--prefix="${PREFIX}" --disable-testbench
(-)devel/libee/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2011-06-20 14:08:32.835431092 -0500
2
+++ Makefile.in	2011-06-20 14:08:56.609771691 -0500
3
@@ -257,7 +257,7 @@
4
 top_builddir = @top_builddir@
5
 top_srcdir = @top_srcdir@
6
 SUBDIRS = tests include src
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libee.pc
10
 ACLOCAL_AMFLAGS = -I m4
11
 all: config.h
(-)devel/libelf/Makefile (-1 / +1 lines)
Lines 22-28 SANITY_DESC= Avoid loading invalid ELF files Link Here
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS+=	--enable-shared --disable-compat
23
CONFIGURE_ARGS+=	--enable-shared --disable-compat
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
USES=		desthack
25
USES=		desthack pathfix
26
26
27
.if ${PORT_OPTIONS:MNLS}
27
.if ${PORT_OPTIONS:MNLS}
28
CPPFLAGS+=	-I${LOCALBASE}/include
28
CPPFLAGS+=	-I${LOCALBASE}/include
(-)devel/libelf/files/patch-Makefile.in (-16 lines)
Removed Link Here
1
Description: Fix the pkgconfig data directory path.
2
Forwarded: not-needed
3
Author: Peter Pentchev <roam@FreeBSD.org>
4
Last-Update: 2009-11-20
5
6
--- Makefile.in.orig
7
+++ Makefile.in
8
@@ -23,7 +23,7 @@
9
 exec_prefix = @exec_prefix@
10
 libdir = @libdir@
11
 
12
-pkgdir = $(libdir)/pkgconfig
13
+pkgdir = $(prefix)/libdata/pkgconfig
14
 
15
 MV = mv -f
16
 RM = rm -f
(-)devel/libestr/Makefile (-1 / +1 lines)
Lines 10-16 MASTER_SITES= http://libestr.adiscon.com/files/download/ Link Here
10
MAINTAINER=	matthew@FreeBSD.org
10
MAINTAINER=	matthew@FreeBSD.org
11
COMMENT=	Library for some string essentials
11
COMMENT=	Library for some string essentials
12
12
13
USES=		libtool
13
USES=		libtool pathfix
14
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	--prefix="${PREFIX}" \
16
CONFIGURE_ARGS=	--prefix="${PREFIX}" \
(-)devel/libestr/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in..orig	2011-06-20 13:31:12.833335470 -0500
2
+++ Makefile.in	2011-06-20 13:31:27.073909538 -0500
3
@@ -251,7 +251,7 @@
4
 top_builddir = .
5
 top_srcdir = .
6
 SUBDIRS = include src
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libestr.pc
10
 ACLOCAL_AMFLAGS = -I m4
11
 all: config.h
(-)devel/libevent2/Makefile (-1 lines)
Lines 20-26 GH_PROJECT= ${PORTNAME:S/2$//} Link Here
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USES=		autoreconf libtool pathfix
22
USES=		autoreconf libtool pathfix
23
PATHFIX_MAKEFILEIN=Makefile.am
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
24
26
OPTIONS_DEFINE=	OPENSSL THREADS
25
OPTIONS_DEFINE=	OPENSSL THREADS
(-)devel/libfastjson/Makefile (-1 lines)
Lines 16-22 GH_ACCOUNT= rsyslog Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USES=		autoreconf gmake libtool pathfix pkgconfig
18
USES=		autoreconf gmake libtool pathfix pkgconfig
19
PATHFIX_MAKEFILEIN=	Makefile.am
20
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
21
20
22
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)devel/libfirm/Makefile (-1 lines)
Lines 14-20 LICENSE= GPLv2 LGPL21 Link Here
14
LICENSE_COMB=	multi
14
LICENSE_COMB=	multi
15
15
16
USES=		autoreconf gmake libtool pathfix pkgconfig tar:bzip2
16
USES=		autoreconf gmake libtool pathfix pkgconfig tar:bzip2
17
PATHFIX_MAKEFILEIN=	Makefile.am
18
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
(-)devel/libgit2/Makefile (-3 / +2 lines)
Lines 13-19 LICENSE= GPLv2 Link Here
13
USE_GITHUB=	yes
13
USE_GITHUB=	yes
14
GH_ACCOUNT=	libgit2
14
GH_ACCOUNT=	libgit2
15
15
16
USES=		cmake pkgconfig python:build
16
USES=		cmake pathfix pkgconfig python:build
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
USE_OPENSSL=	yes
18
USE_OPENSSL=	yes
19
19
Lines 38-45 BROKEN_sparc64= does not install: thread-local storage not supported Link Here
38
.include <bsd.port.pre.mk>
38
.include <bsd.port.pre.mk>
39
39
40
post-patch:
40
post-patch:
41
	@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|; \
41
	@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt
42
		/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt
43
.if ${SSL_DEFAULT} == base
42
.if ${SSL_DEFAULT} == base
44
	@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \
43
	@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \
45
		${WRKSRC}/CMakeLists.txt
44
		${WRKSRC}/CMakeLists.txt
(-)devel/libhtp/Makefile (-2 lines)
Lines 22-29 CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} Link Here
22
MAKE_ARGS=	LIBS="-lz ${ICONV_LIB}"
22
MAKE_ARGS=	LIBS="-lz ${ICONV_LIB}"
23
LDFLAGS+=	-L${LOCALBASE}/lib
23
LDFLAGS+=	-L${LOCALBASE}/lib
24
24
25
PATHFIX_MAKEFILEIN=	Makefile.am
26
27
INSTALL_TARGET=		install-strip
25
INSTALL_TARGET=		install-strip
28
TEST_TARGET=		check
26
TEST_TARGET=		check
29
27
(-)devel/liblouis/Makefile (-1 lines)
Lines 17-23 USES= autoreconf gmake libtool pathfix Link Here
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
PATHFIX_MAKEFILEIN=	Makefile.am
21
INSTALL_TARGET=	install-strip
20
INSTALL_TARGET=	install-strip
22
21
23
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)devel/libmowgli/Makefile (-5 / +2 lines)
Lines 14-25 USE_GITHUB= yes Link Here
14
GH_ACCOUNT=	atheme-legacy
14
GH_ACCOUNT=	atheme-legacy
15
GH_TAGNAME=	5ab559e3af5b11767ada53d4401fb1c4443f3723
15
GH_TAGNAME=	5ab559e3af5b11767ada53d4401fb1c4443f3723
16
16
17
USES=		gmake tar:bzip2
17
USES=		gmake pathfix tar:bzip2
18
PATHFIX_MAKEFILEIN=	Makefile
18
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
20
21
21
post-patch:
22
	@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
23
		${WRKSRC}/Makefile
24
25
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)devel/liboil/Makefile (-5 / +2 lines)
Lines 16-22 LICENSE_COMB= multi Link Here
16
16
17
BROKEN_powerpc64=	fails to compile vec_memcpy.S
17
BROKEN_powerpc64=	fails to compile vec_memcpy.S
18
18
19
USES=		libtool pkgconfig
19
USES=		libtool pathfix pkgconfig
20
PATHFIX_MAKEFILEIN=	configure
20
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
21
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
22
CONFIGURE_ARGS=	--disable-gtk-doc \
23
CONFIGURE_ARGS=	--disable-gtk-doc \
Lines 24-31 CONFIGURE_ARGS= --disable-gtk-doc \ Link Here
24
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
25
CFLAGS:=	${CFLAGS:N-O*} -O2
26
CFLAGS:=	${CFLAGS:N-O*} -O2
26
27
27
post-patch:
28
	@${REINPLACE_CMD} -e 's|\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
29
		${WRKSRC}/configure
30
31
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)devel/libopkele/Makefile (-4 / +2 lines)
Lines 19-25 LIB_DEPENDS= libcurl.so:ftp/curl \ Link Here
19
		libxslt.so:textproc/libxslt
19
		libxslt.so:textproc/libxslt
20
20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USES=		libtool gmake pkgconfig compiler:c++11-lang ssl
22
USES=		libtool gmake pathfix pkgconfig compiler:c++11-lang ssl
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	"OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \
24
CONFIGURE_ENV=	"OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \
25
		OPENSSL_LIBS=-L${OPENSSLLIB}
25
		OPENSSL_LIBS=-L${OPENSSLLIB}
Lines 33-42 LDFLAGS+= -L${LOCALBASE}/lib Link Here
33
# by design, we need to remove the openssl dependency
33
# by design, we need to remove the openssl dependency
34
# in pkgconfig/libopkele.pc.
34
# in pkgconfig/libopkele.pc.
35
35
36
post-patch:
37
	@ ${REINPLACE_CMD} -e "s|pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g" \
38
	    ${WRKSRC}/Makefile.in
39
.if ${SSL_DEFAULT} == base
36
.if ${SSL_DEFAULT} == base
37
post-patch:
40
	@ ${REINPLACE_CMD} -e "s|Requires: openssl|Requires:|" ${WRKSRC}/libopkele.pc.in
38
	@ ${REINPLACE_CMD} -e "s|Requires: openssl|Requires:|" ${WRKSRC}/libopkele.pc.in
41
.endif
39
.endif
42
40
(-)devel/libosmo-abis/Makefile (-1 lines)
Lines 17-23 LIB_DEPENDS= libosmocore.so:devel/libosmocore \ Link Here
17
		libortp.so:net/ortp
17
		libortp.so:net/ortp
18
18
19
USES=		autoreconf gmake libtool pathfix pkgconfig
19
USES=		autoreconf gmake libtool pathfix pkgconfig
20
PATHFIX_MAKEFILEIN=Makefile.am
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
23
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
(-)devel/libosmo-netif/Makefile (-1 lines)
Lines 21-27 BROKEN_powerpc64= Does not build Link Here
21
BROKEN_sparc64=	Does not build: undefined reference to __bswap_16
21
BROKEN_sparc64=	Does not build: undefined reference to __bswap_16
22
22
23
USES=		autoreconf libtool pathfix pkgconfig
23
USES=		autoreconf libtool pathfix pkgconfig
24
PATHFIX_MAKEFILEIN=Makefile.am
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
27
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
(-)devel/libosmo-sccp/Makefile (-1 lines)
Lines 17-23 LIB_DEPENDS= libosmocore.so:devel/libosmocore Link Here
17
CONFLICTS_INSTALL=libmtp-[0-9]* # lib/libmtp.a
17
CONFLICTS_INSTALL=libmtp-[0-9]* # lib/libmtp.a
18
18
19
USES=		autoreconf gmake pathfix pkgconfig
19
USES=		autoreconf gmake pathfix pkgconfig
20
PATHFIX_MAKEFILEIN=Makefile.am
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
21
23
post-patch:
22
post-patch:
(-)devel/libosmocore/Makefile (-1 lines)
Lines 15-21 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite
15
LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite
16
16
17
USES=		alias autoreconf execinfo gmake libtool pathfix pkgconfig
17
USES=		alias autoreconf execinfo gmake libtool pathfix pkgconfig
18
PATHFIX_MAKEFILEIN=Makefile.am
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
19
LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
(-)devel/libr3/Makefile (-5 / +1 lines)
Lines 16-30 LIB_DEPENDS= libcheck.so:devel/libcheck \ Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--enable-graphviz
18
CONFIGURE_ARGS=	--enable-graphviz
19
USES=		autoreconf libtool pkgconfig
19
USES=		autoreconf libtool pathfix pkgconfig
20
INSTALL_TARGET=	install-strip
20
INSTALL_TARGET=	install-strip
21
21
22
USE_GITHUB=	yes
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	c9s
23
GH_ACCOUNT=	c9s
24
GH_PROJECT=	r3
24
GH_PROJECT=	r3
25
25
26
post-patch:
27
	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' \
28
		${WRKSRC}/Makefile.am
29
30
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)devel/libsearpc/Makefile (-1 lines)
Lines 20-26 GH_TAGNAME= v3.0-latest Link Here
20
20
21
USES=		autoreconf gettext libtool pathfix pkgconfig python:2
21
USES=		autoreconf gettext libtool pathfix pkgconfig python:2
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
23
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
(-)devel/libsmpp34/Makefile (-3 / +1 lines)
Lines 14-20 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
14
14
15
LIB_DEPENDS=	libxml2.so:textproc/libxml2
15
LIB_DEPENDS=	libxml2.so:textproc/libxml2
16
16
17
USES=		autoreconf libtool gmake
17
USES=		autoreconf libtool gmake pathfix
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
INSTALL_TARGET=	install-strip
20
INSTALL_TARGET=	install-strip
Lines 22-29 INSTALL_TARGET= install-strip Link Here
22
MAKE_JOBS_UNSAFE=yes
22
MAKE_JOBS_UNSAFE=yes
23
23
24
post-patch:
24
post-patch:
25
	${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \
26
		${WRKSRC}/Makefile.am
27
	${REINPLACE_CMD} -e 's|AC_CONFIG_AUX_DIR.*|AC_CONFIG_AUX_DIR([.])|g' \
25
	${REINPLACE_CMD} -e 's|AC_CONFIG_AUX_DIR.*|AC_CONFIG_AUX_DIR([.])|g' \
28
		${WRKSRC}/configure.ac
26
		${WRKSRC}/configure.ac
29
	${REINPLACE_CMD} -e 's|AM_CONFIG_HEADER.*|AM_CONFIG_HEADER([./config.h])|g' \
27
	${REINPLACE_CMD} -e 's|AM_CONFIG_HEADER.*|AM_CONFIG_HEADER([./config.h])|g' \
(-)devel/libtermkey/Makefile (-4 / +2 lines)
Lines 11-24 COMMENT= Easy processing of keyboard entry from terminal-based programs Link Here
11
11
12
LICENSE=	MIT
12
LICENSE=	MIT
13
13
14
USES=		gmake libtool:build ncurses pkgconfig
14
USES=		gmake libtool:build ncurses pathfix pkgconfig
15
PATHFIX_MAKEFILEIN=	Makefile
15
LIB_DEPENDS=	libunibilium.so:devel/unibilium
16
LIB_DEPENDS=	libunibilium.so:devel/unibilium
16
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
17
MAKE_ARGS=	MANDIR=${MANPREFIX}/man
18
MAKE_ARGS=	MANDIR=${MANPREFIX}/man
18
19
19
post-patch:
20
	${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile
21
22
post-stage:
20
post-stage:
23
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtermkey.so.1.12.0
21
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtermkey.so.1.12.0
24
22
(-)devel/libunwind/Makefile (-1 lines)
Lines 17-23 ONLY_FOR_ARCHS= i386 amd64 Link Here
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
20
PATHFIX_MAKEFILEIN=	Makefile.am
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
USES=		autoreconf libtool pathfix pkgconfig
21
USES=		autoreconf libtool pathfix pkgconfig
23
22
(-)devel/libuv/Makefile (-1 lines)
Lines 20-26 TEST_DEPENDS= gyp:devel/py-gyp \ Link Here
20
20
21
USES=		autoreconf libtool pathfix pkgconfig
21
USES=		autoreconf libtool pathfix pkgconfig
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
26
25
(-)devel/libxs/Makefile (-2 lines)
Lines 18-25 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	crossroads-io
18
GH_ACCOUNT=	crossroads-io
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
23
OPTIONS_DEFINE=	DEBUG DOCS PLUGINS ZMQ
21
OPTIONS_DEFINE=	DEBUG DOCS PLUGINS ZMQ
24
EXTERNAL_DESC=	PGM extension from ports
22
EXTERNAL_DESC=	PGM extension from ports
25
INTERNAL_DESC=	PGM extension
23
INTERNAL_DESC=	PGM extension
(-)devel/lightning/Makefile (-1 / +1 lines)
Lines 12-18 COMMENT= Generates assembly language code at run-time Link Here
12
LICENSE=	GPLv3 LGPL3
12
LICENSE=	GPLv3 LGPL3
13
LICENSE_COMB=	multi
13
LICENSE_COMB=	multi
14
14
15
USES=		libtool
15
USES=		libtool pathfix
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS=	--enable-disassembler=no
17
CONFIGURE_ARGS=	--enable-disassembler=no
18
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
(-)devel/lightning/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2015-02-08 17:45:49.524068441 +0600
2
+++ Makefile.in	2015-02-08 17:49:09.021055899 +0600
3
@@ -407,7 +407,7 @@
4
 	include		\
5
 	lib
6
 
7
-pkgconfiglibdir = $(libdir)/pkgconfig
8
+pkgconfiglibdir = $(prefix)/libdata/pkgconfig
9
 pkgconfiglib_DATA = lightning.pc
10
 @get_jit_size_TRUE@JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"
11
 @get_jit_size_TRUE@AM_CPPFLAGS = -DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)'
(-)devel/m17n-db/Makefile (-2 lines)
Lines 35-42 post-extract: Link Here
35
	cd ${WRKSRC}; ${TAR} xjf ${DISTDIR}/${GLIBC_DISTFILE} ${CHARMAPSDIR}
35
	cd ${WRKSRC}; ${TAR} xjf ${DISTDIR}/${GLIBC_DISTFILE} ${CHARMAPSDIR}
36
36
37
post-patch:
37
post-patch:
38
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
39
		's|$${datadir}/pkgconfig|$${prefix}/libdata/pkgconfig|g'
40
	@${REINPLACE_CMD} -E 's|(m17n_scriptdir = ).*|\1${PREFIX}/bin|' \
38
	@${REINPLACE_CMD} -E 's|(m17n_scriptdir = ).*|\1${PREFIX}/bin|' \
41
		${WRKSRC}/Makefile.in
39
		${WRKSRC}/Makefile.in
42
40
(-)devel/m17n-lib/Makefile (-4 / +2 lines)
Lines 21-27 RUN_DEPENDS= m17n-db>=1.6.4:devel/m17n-db Link Here
21
21
22
MAKE_JOBS_UNSAFE=	yes
22
MAKE_JOBS_UNSAFE=	yes
23
23
24
USES=		autoreconf gettext-tools libtool pkgconfig
24
USES=		autoreconf gettext-tools libtool pathfix pkgconfig
25
USE_XORG=	ice sm x11 xaw xft xt
25
USE_XORG=	ice sm x11 xaw xft xt
26
USE_GNOME=	libxml2
26
USE_GNOME=	libxml2
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
Lines 47-54 THAI_LIB_DEPENDS= libthai.so:devel/libthai Link Here
47
THAI_CONFIGURE_OFF=	--without-libthai
47
THAI_CONFIGURE_OFF=	--without-libthai
48
48
49
post-patch:
49
post-patch:
50
	@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
50
	@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e 's|-ldl||g'
51
		's|libdir}/pkgconfig|prefix}/libdata/pkgconfig|g ; \
52
		 s|-ldl||g'
53
51
54
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)devel/marisa-trie/Makefile (-1 / +1 lines)
Lines 19-25 GH_ACCOUNT= s-yata Link Here
19
GH_PROJECT=	marisa-trie
19
GH_PROJECT=	marisa-trie
20
GH_TAGNAME=	961ed33
20
GH_TAGNAME=	961ed33
21
21
22
USES=	autoreconf libtool:build
22
USES=	autoreconf libtool:build pathfix
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
(-)devel/marisa-trie/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2016-07-03 09:34:09 UTC
2
+++ Makefile.am
3
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
4
 
5
 SUBDIRS = include lib tools tests
6
 
7
-pkgconfigdir = ${libdir}/pkgconfig
8
+pkgconfigdir = ${prefix}/libdata/pkgconfig
9
 pkgconfig_DATA = marisa.pc
10
 
11
 EXTRA_DIST = \
(-)devel/msgpack/Makefile (-1 / +1 lines)
Lines 13-19 LICENSE= APACHE20 Link Here
13
USE_GITHUB=	yes
13
USE_GITHUB=	yes
14
GH_PROJECT=	msgpack-c
14
GH_PROJECT=	msgpack-c
15
15
16
USES=		libtool:build autoreconf:build
16
USES=		libtool:build autoreconf:build pathfix
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
(-)devel/msgpack/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2016-05-27 09:08:08 UTC
2
+++ Makefile.am
3
@@ -11,7 +11,7 @@ DOC_FILES = \
4
 EXTRA_DIST = \
5
 		$(DOC_FILES) CMakeLists.txt test/CMakeLists.txt example
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = msgpack.pc
10
 
11
 doxygen:
(-)devel/ndesk-options/Makefile (+4 lines)
Lines 11-15 COMMENT= Callback-based program option parser for C\# Link Here
11
GNU_CONFIGURE=	yes
11
GNU_CONFIGURE=	yes
12
CONFIGURE_ENV=	ac_cv_path_MCS=${LOCALBASE}/bin/mcs
12
CONFIGURE_ENV=	ac_cv_path_MCS=${LOCALBASE}/bin/mcs
13
USES=		gmake mono pathfix pkgconfig
13
USES=		gmake mono pathfix pkgconfig
14
PATHFIX_MAKEFILEIN=	Makefile.in configure
15
16
post-extract:
17
	@${MV} ${WRKSRC}/lib ${WRKSRC}/libdata
14
18
15
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)devel/ois/Makefile (-1 lines)
Lines 16-22 LICENSE= ZLIB Link Here
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
INSTALL_TARGET=	install-strip
17
INSTALL_TARGET=	install-strip
18
USES=		autoreconf gmake libtool pathfix
18
USES=		autoreconf gmake libtool pathfix
19
PATHFIX_MAKEFILEIN=	Makefile.am
20
USE_XORG=	x11 xaw
19
USE_XORG=	x11 xaw
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
21
(-)devel/oniguruma5/Makefile (-1 lines)
Lines 24-30 USE_GITHUB= yes Link Here
24
GH_ACCOUNT=	kkos
24
GH_ACCOUNT=	kkos
25
25
26
USES=		pathfix autoreconf libtool
26
USES=		pathfix autoreconf libtool
27
PATHFIX_MAKEFILEIN=	Makefile.am
28
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
29
INSTALL_TARGET=	install-strip
28
INSTALL_TARGET=	install-strip
30
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
(-)devel/opendht/Makefile (-3 / +1 lines)
Lines 23-35 GNU_CONFIGURE= yes Link Here
23
CONFIGURE_ARGS+=--disable-python
23
CONFIGURE_ARGS+=--disable-python
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
25
26
USES=		autoreconf compiler:c++11-lib libtool pkgconfig
26
USES=		autoreconf compiler:c++11-lib libtool pathfix pkgconfig
27
CFLAGS+=	-I${LOCALBASE}/include
27
CFLAGS+=	-I${LOCALBASE}/include
28
CXXFLAGS+=	-I${LOCALBASE}/include
28
CXXFLAGS+=	-I${LOCALBASE}/include
29
29
30
post-stage:
30
post-stage:
31
	@${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/opendht.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
32
	@${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
33
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0
31
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0
34
32
35
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)devel/orc/Makefile (-2 / +2 lines)
Lines 13-19 LICENSE= BSD2CLAUSE BSD3CLAUSE Link Here
13
LICENSE_COMB=	multi
13
LICENSE_COMB=	multi
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
USES=		gmake libtool pkgconfig tar:xz
16
USES=		gmake libtool pathfix pkgconfig tar:xz
17
PATHFIX_MAKEFILEIN=	configure
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
19
CONFIGURE_ARGS+=--disable-gtk-doc
20
CONFIGURE_ARGS+=--disable-gtk-doc
Lines 42-48 MAKE_ARGS+= SUBDIRS="${SUBDIRS}" Link Here
42
post-patch:
43
post-patch:
43
	@${REINPLACE_CMD} \
44
	@${REINPLACE_CMD} \
44
		-E -e '/LIBS/s/-lrt(\ )*//; /LIBRT/s/-lrt//' \
45
		-E -e '/LIBS/s/-lrt(\ )*//; /LIBRT/s/-lrt//' \
45
		-e 's|pkgconfigdir=.*|pkgconfigdir=\"\\$$(prefix)/libdata/pkgconfig\"|g' \
46
		${WRKSRC}/configure
46
		${WRKSRC}/configure
47
47
48
post-install:
48
post-install:
(-)devel/papi/Makefile (-1 / +2 lines)
Lines 23-29 NO_PACKAGE= Needs to be compiled for specific CPU Link Here
23
STRIP=		# empty
23
STRIP=		# empty
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
LIB_DEPENDS+=	libopa.so:net/mpich2
25
LIB_DEPENDS+=	libopa.so:net/mpich2
26
USES=		fortran gmake pkgconfig
26
USES=		fortran gmake pathfix pkgconfig
27
PATHFIX_MAKEFILEIN=	Makefile.inc
27
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
28
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
29
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
29
WRKMAN=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/man
30
WRKMAN=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/man
(-)devel/papi/files/patch-Makefile.inc (-11 lines)
Removed Link Here
1
--- Makefile.inc.orig	2015-12-09 12:02:38 UTC
2
+++ Makefile.inc
3
@@ -18,7 +18,7 @@ HEADERS   = $(MISCHDRS) $(OSFILESHDR) pa
4
 LIBCFLAGS += -I. $(CFLAGS) -DOSLOCK=\"$(OSLOCK)\" -DOSCONTEXT=\"$(OSCONTEXT)\"
5
 FHEADERS = fpapi.h f77papi.h f90papi.h
6
 # pkgconfig directory
7
-LIBPC = $(LIBDIR)/pkgconfig
8
+LIBPC = $(prefix)/libdata/pkgconfig
9
 
10
 all: $(SHOW_CONF) $(LIBS) utils tests cuda_sampling 
11
 .PHONY : all test fulltest tests testlib utils ctests ftests comp_tests null
(-)devel/protobuf/Makefile (-1 lines)
Lines 15-21 CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI Link Here
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
INSTALL_TARGET=	install-strip
16
INSTALL_TARGET=	install-strip
17
ONLY_FOR_ARCHS=	amd64 armv6 i386
17
ONLY_FOR_ARCHS=	amd64 armv6 i386
18
PATHFIX_MAKEFILEIN=	Makefile.am
19
TEST_TARGET=	check
18
TEST_TARGET=	check
20
USE_CSTD=	c99	# for audio/clementine-player support
19
USE_CSTD=	c99	# for audio/clementine-player support
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
(-)devel/ptlib/Makefile (-1 / +1 lines)
Lines 15-21 LIB_DEPENDS= libexpat.so:textproc/expat2 Link Here
15
15
16
CONFLICTS=	pwlib-1.*
16
CONFLICTS=	pwlib-1.*
17
17
18
USES=		autoreconf:build bison gmake pkgconfig ssl tar:xz
18
USES=		autoreconf:build bison gmake pathfix pkgconfig ssl tar:xz
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
CPPFLAGS+=	-I${OPENSSLINC} -I${LOCALBASE}/include
21
CPPFLAGS+=	-I${OPENSSLINC} -I${LOCALBASE}/include
(-)devel/ptlib/files/patch-Makefile.in (-22 lines)
Lines 11-35 Link Here
11
           do \
11
           do \
12
 	  ( if test -e $$lib ; then \
12
 	  ( if test -e $$lib ; then \
13
 		$(INSTALL) -m 444 $$lib $(DESTDIR)$(LIBDIR); \
13
 		$(INSTALL) -m 444 $$lib $(DESTDIR)$(LIBDIR); \
14
@@ -160,9 +158,9 @@
15
 	$(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/ptlib/make/
16
 	(cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/ptlib/make/ptlib-config ptlib-config)
17
 
18
-	mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
19
-	chmod 755 $(DESTDIR)$(LIBDIR)/pkgconfig
20
-	$(INSTALL) -m 644 ptlib.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
21
+	mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
22
+	chmod 755 $(DESTDIR)$(PREFIX)/libdata/pkgconfig
23
+	$(INSTALL) -m 644 ptlib.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
24
 
25
 uninstall:
26
 	rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \
27
@@ -171,7 +169,7 @@
28
 	       $(DESTDIR)$(PREFIX)/include/ptbuildopts.h \
29
 	       $(DESTDIR)$(PREFIX)/share/ptlib \
30
 	       $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR) \
31
-	       $(DESTDIR)$(LIBDIR)/pkgconfig/ptlib.pc
32
+	       $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ptlib.pc
33
 	rm -f $(DESTDIR)$(LIBDIR)/lib$(PTLIB_BASE)_s.a \
34
 	      $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE) \
35
 	      $(DESTDIR)$(LIBDIR)/$(LIB_SONAME)
(-)devel/qjson/Makefile (-5 / +1 lines)
Lines 11-17 COMMENT= Library to manage JSON objects with Qt Link Here
11
LICENSE=	LGPL21
11
LICENSE=	LGPL21
12
12
13
USE_QT4=	corelib moc_build qmake_build rcc_build uic_build
13
USE_QT4=	corelib moc_build qmake_build rcc_build uic_build
14
USES=		cmake tar:bzip2
14
USES=		cmake pathfix tar:bzip2
15
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
16
16
17
PORTDOCS=	*
17
PORTDOCS=	*
Lines 24-33 OPTIONS_DEFINE= DOCS Link Here
24
BUILD_DEPENDS+=	doxygen:devel/doxygen
24
BUILD_DEPENDS+=	doxygen:devel/doxygen
25
.endif
25
.endif
26
26
27
post-patch:
28
	@${REINPLACE_CMD} -e 's,/pkgconfig,/../libdata/pkgconfig,' \
29
		${WRKSRC}/CMakeLists.txt
30
31
post-build:
27
post-build:
32
.if ${PORT_OPTIONS:MDOCS}
28
.if ${PORT_OPTIONS:MDOCS}
33
	cd ${WRKSRC}/doc && doxygen
29
	cd ${WRKSRC}/doc && doxygen
(-)devel/radare2/Makefile (-3 / +2 lines)
Lines 19-25 LIB_DEPENDS+= libcapstone.so:devel/capstone4 Link Here
19
19
20
CONFIGURE_ARGS+=	--with-syscapstone
20
CONFIGURE_ARGS+=	--with-syscapstone
21
21
22
USES=		gmake pkgconfig tar:xz
22
USES=		gmake pathfix pkgconfig tar:xz
23
PATHFIX_MAKEFILEIN=	Makefile
23
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
24
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
25
26
Lines 29-36 PLIST_SUB+= PORTVERSION="${PORTVERSION}" Link Here
29
OPTIONS_DEFINE=	DOCS
30
OPTIONS_DEFINE=	DOCS
30
31
31
post-patch:
32
post-patch:
32
	${REINPLACE_CMD} -e 's|..LIBDIR./pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
33
		${WRKSRC}/libr/Makefile
34
	${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKSRC}/libr/anal/Makefile
33
	${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKSRC}/libr/anal/Makefile
35
	${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKSRC}/libr/asm/Makefile
34
	${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKSRC}/libr/asm/Makefile
36
35
(-)devel/rapidjson/Makefile (-2 / +1 lines)
Lines 21-27 DOXYGEN_BUILD_DEPENDS+= doxygen:devel/doxygen Link Here
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	miloyip
22
GH_ACCOUNT=	miloyip
23
23
24
USES=		cmake compiler:c++11-lang gmake
24
USES=		cmake compiler:c++11-lang gmake pathfix
25
25
26
OPTIONS_DEFINE=	DOXYGEN EXAMPLES
26
OPTIONS_DEFINE=	DOXYGEN EXAMPLES
27
OPTIONS_DEFAULT=${OPTIONS_DEFINE}
27
OPTIONS_DEFAULT=${OPTIONS_DEFINE}
Lines 40-46 DATADIR= ${PREFIX}/share/doc/RapidJSON Link Here
40
PORTDATA=	*
40
PORTDATA=	*
41
41
42
post-patch:
42
post-patch:
43
	@${REINPLACE_CMD} -e 's|LIB_INSTALL_DIR}/pkgconfig"|CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"|' ${WRKSRC}/CMakeLists.txt
44
	@${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"|' ${WRKSRC}/CMakeLists.txt
43
	@${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"|' ${WRKSRC}/CMakeLists.txt
45
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt ${WRKSRC}/test/unittest/CMakeLists.txt
44
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt ${WRKSRC}/test/unittest/CMakeLists.txt
46
	@${REINPLACE_CMD} -e 's|.*travis.*||' ${WRKSRC}/CMakeLists.txt   # travis_doc breaks cmake, see https://github.com/miloyip/rapidjson/issues/715
45
	@${REINPLACE_CMD} -e 's|.*travis.*||' ${WRKSRC}/CMakeLists.txt   # travis_doc breaks cmake, see https://github.com/miloyip/rapidjson/issues/715
(-)devel/rudiments/Makefile (-1 / +2 lines)
Lines 12-18 COMMENT= C++ class library for daemons, clients, servers, and more Link Here
12
LICENSE=	LGPL20
12
LICENSE=	LGPL20
13
13
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
USES=		libtool pkgconfig shebangfix
15
USES=		libtool pathfix pkgconfig shebangfix
16
PATHFIX_MAKEFILEIN=	Makefile
16
SHEBANG_FILES=	doc/programming/insert.pl
17
SHEBANG_FILES=	doc/programming/insert.pl
17
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
18
19
(-)devel/rudiments/files/patch-Makefile (-16 / +8 lines)
Lines 1-28 Link Here
1
--- Makefile.orig	2015-08-05 23:06:25.000000000 +0200
1
--- Makefile.orig	2016-10-03 12:37:06 UTC
2
+++ Makefile	2015-08-08 12:40:43.305908000 +0200
2
+++ Makefile
3
@@ -16,12 +16,9 @@
3
@@ -17,9 +17,6 @@ install:
4
 	cd bin $(AND) $(MAKE) install
4
 	cd bin $(AND) $(MAKE) install
5
 	cd doc $(AND) $(MAKE) install
5
 	cd doc $(AND) $(MAKE) install
6
 	cd man $(AND) $(MAKE) install
6
 	cd man $(AND) $(MAKE) install
7
-	$(MKINSTALLDIRS) $(licensedir)
7
-	$(MKINSTALLDIRS) $(licensedir)
8
-	$(CP) COPYING $(licensedir)
8
-	$(CP) COPYING $(licensedir)
9
-	$(CHMOD) 0644 $(licensedir)/COPYING
9
-	$(CHMOD) 0644 $(licensedir)/COPYING
10
-	$(MKINSTALLDIRS) $(libdir)/pkgconfig
10
 	$(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig
11
-	$(CP) rudiments.pc $(libdir)/pkgconfig
11
 	$(CP) rudiments.pc $(prefix)/libdata/pkgconfig
12
-	$(CHMOD) 644 $(libdir)/pkgconfig/rudiments.pc
12
 	$(CHMOD) 644 $(prefix)/libdata/pkgconfig/rudiments.pc
13
+	$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/libdata/pkgconfig
13
@@ -30,7 +27,6 @@ uninstall:
14
+	$(CP) rudiments.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
15
+	$(CHMOD) 644 $(DESTDIR)$(prefix)/libdata/pkgconfig/rudiments.pc
16
 
17
 uninstall:
18
 	cd src $(AND) $(MAKE) uninstall
19
@@ -29,8 +26,7 @@
20
 	cd bin $(AND) $(MAKE) uninstall
14
 	cd bin $(AND) $(MAKE) uninstall
21
 	cd doc $(AND) $(MAKE) uninstall
15
 	cd doc $(AND) $(MAKE) uninstall
22
 	cd man $(AND) $(MAKE) uninstall
16
 	cd man $(AND) $(MAKE) uninstall
23
-	$(RMTREE) $(licensedir)
17
-	$(RMTREE) $(licensedir)
24
-	$(RM) $(libdir)/pkgconfig/rudiments.pc
18
 	$(RM) $(prefix)/libdata/pkgconfig/rudiments.pc
25
+	$(RM) $(DESTDIR)$(prefix)/libdata/pkgconfig/rudiments.pc
26
 
19
 
27
 distclean: clean
20
 distclean: clean
28
 	$(RM) config.mk config.cache config.h config.log config.status features.mk libtool rudiments.pc include/Makefile include/rudiments/private/config.h include/rudiments/private/config.h.in~ bin/rudiments-config src/Makefile msvc/rudiments.opensdf msvc/rudiments.sdf msvc/rudiments.suo
(-)devel/rudiments/files/patch-bin_Makefile (-16 lines)
Removed Link Here
1
--- bin/Makefile.orig	2015-01-13 22:38:32 UTC
2
+++ bin/Makefile
3
@@ -3,9 +3,9 @@ top_builddir = ..
4
 include ../config.mk
5
 
6
 install:
7
-	$(MKINSTALLDIRS) $(bindir)
8
-	$(CP) rudiments-config $(bindir)
9
-	$(CHMOD) 755 $(bindir)/rudiments-config
10
+	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
11
+	$(CP) rudiments-config $(DESTDIR)$(bindir)
12
+	$(CHMOD) 755 $(DESTDIR)$(bindir)/rudiments-config
13
 
14
 uninstall:
15
-	$(RM) $(bindir)/rudiments-config
16
+	$(RM) $(DESTDIR)$(bindir)/rudiments-config
(-)devel/rudiments/files/patch-configure (-61 / +2 lines)
Lines 1-6 Link Here
1
--- configure.orig	2015-04-11 01:05:36 UTC
1
--- configure.orig	2016-03-26 17:20:08 UTC
2
+++ configure
2
+++ configure
3
@@ -9216,7 +9216,7 @@ $as_echo_n "checking whether the $compil
3
@@ -9284,7 +9284,7 @@ $as_echo_n "checking whether the $compil
4
   hardcode_minus_L=no
4
   hardcode_minus_L=no
5
   hardcode_shlibpath_var=unsupported
5
   hardcode_shlibpath_var=unsupported
6
   inherit_rpath=no
6
   inherit_rpath=no
Lines 28-89 Link Here
28
 	*)
28
 	*)
29
 		;;
29
 		;;
30
 esac
30
 esac
31
@@ -31537,47 +31540,47 @@ fi
32
 # prepend DESTDIR where appropriate
33
 if ( test "`echo $ac_default_prefix | cut -c1`" = "/" )
34
 then
35
-	ac_default_prefix='${DESTDIR}'"$ac_default_prefix"
36
+	ac_default_prefix="$ac_default_prefix"
37
 fi
38
 if ( test "`echo $prefix | cut -c1`" = "/" )
39
 then
40
-	prefix='${DESTDIR}'"$prefix"
41
+	prefix="$prefix"
42
 fi
43
 if ( test "`echo $exec_prefix | cut -c1`" = "/" )
44
 then
45
-	exec_prefix='${DESTDIR}'"$exec_prefix"
46
+	exec_prefix="$exec_prefix"
47
 fi
48
 if ( test "`echo $includedir | cut -c1`" = "/" )
49
 then
50
-	includedir='${DESTDIR}'"$includedir"
51
+	includedir="$includedir"
52
 fi
53
 if ( test "`echo $libdir | cut -c1`" = "/" )
54
 then
55
-	libdir='${DESTDIR}'"$libdir"
56
+	libdir="$libdir"
57
 fi
58
 if ( test "`echo $libexecdir | cut -c1`" = "/" )
59
 then
60
-	libexecdir='${DESTDIR}'"$libexecdir"
61
+	libexecdir="$libexecdir"
62
 fi
63
 if ( test "`echo $bindir | cut -c1`" = "/" )
64
 then
65
-	bindir='${DESTDIR}'"$bindir"
66
+	bindir="$bindir"
67
 fi
68
 if ( test "`echo $localstatedir | cut -c1`" = "/" )
69
 then
70
-	localstatedir='${DESTDIR}'"$localstatedir"
71
+	localstatedir="$localstatedir"
72
 fi
73
 if ( test "`echo $sysconfdir | cut -c1`" = "/" )
74
 then
75
-	sysconfdir='${DESTDIR}'"$sysconfdir"
76
+	sysconfdir="$sysconfdir"
77
 fi
78
 if ( test "`echo $mandir | cut -c1`" = "/" )
79
 then
80
-	mandir='${DESTDIR}'"$mandir"
81
+	mandir="$mandir"
82
 fi
83
 if ( test "`echo $datadir | cut -c1`" = "/" )
84
 then
85
-	datadir='${DESTDIR}'"$datadir"
86
+	datadir="$datadir"
87
 fi
88
 
89
 
(-)devel/rudiments/files/patch-doc_Makefile (-90 lines)
Removed Link Here
1
--- doc/Makefile.orig	2015-09-02 20:19:17 UTC
2
+++ doc/Makefile
3
@@ -5,46 +5,46 @@ include ../config.mk
4
 all:
5
 
6
 install:
7
-	$(MKINSTALLDIRS) $(docdir)
8
-	$(MKINSTALLDIRS) $(docdir)/css
9
-	$(MKINSTALLDIRS) $(docdir)/classes/html
10
-	$(MKINSTALLDIRS) $(docdir)/features
11
-	$(MKINSTALLDIRS) $(docdir)/programming
12
-	$(CP) installing.html $(docdir)
13
-	$(CP) index.html $(docdir)
14
-	$(CP) css/styles.css $(docdir)/css
15
-	$(CP) classes/html/*.html $(docdir)/classes/html
16
-	$(CP) classes/html/*.png $(docdir)/classes/html
17
-	$(CP) classes/html/*.css $(docdir)/classes/html
18
-	$(CP) classes/html/*.js $(docdir)/classes/html
19
-	$(CP) features/*.html $(docdir)/features
20
-	$(CP) programming/*.html $(docdir)/programming
21
-	$(CHMOD) 644 $(docdir)/*.html
22
-	$(CHMOD) 644 $(docdir)/css/*
23
-	$(CHMOD) 644 $(docdir)/classes/html/a*.html
24
-	$(CHMOD) 644 $(docdir)/classes/html/b*.html
25
-	$(CHMOD) 644 $(docdir)/classes/html/c*.html
26
-	$(CHMOD) 644 $(docdir)/classes/html/d*.html
27
-	$(CHMOD) 644 $(docdir)/classes/html/e*.html
28
-	$(CHMOD) 644 $(docdir)/classes/html/f*.html
29
-	$(CHMOD) 644 $(docdir)/classes/html/g*.html
30
-	$(CHMOD) 644 $(docdir)/classes/html/h*.html
31
-	$(CHMOD) 644 $(docdir)/classes/html/i*.html
32
-	$(CHMOD) 644 $(docdir)/classes/html/l*.html
33
-	$(CHMOD) 644 $(docdir)/classes/html/m*.html
34
-	$(CHMOD) 644 $(docdir)/classes/html/n*.html
35
-	$(CHMOD) 644 $(docdir)/classes/html/p*.html
36
-	$(CHMOD) 644 $(docdir)/classes/html/r*.html
37
-	$(CHMOD) 644 $(docdir)/classes/html/s*.html
38
-	$(CHMOD) 644 $(docdir)/classes/html/t*.html
39
-	$(CHMOD) 644 $(docdir)/classes/html/u*.html
40
-	$(CHMOD) 644 $(docdir)/classes/html/w*.html
41
-	$(CHMOD) 644 $(docdir)/classes/html/x*.html
42
-	$(CHMOD) 644 $(docdir)/classes/html/*.png
43
-	$(CHMOD) 644 $(docdir)/classes/html/*.css
44
-	$(CHMOD) 644 $(docdir)/classes/html/*.js
45
-	$(CHMOD) 644 $(docdir)/features/*.html
46
-	$(CHMOD) 644 $(docdir)/programming/*.html
47
+	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)
48
+	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/css
49
+	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/classes/html
50
+	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/features
51
+	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/programming
52
+	$(CP) installing.html $(DESTDIR)$(docdir)
53
+	$(CP) index.html $(DESTDIR)$(docdir)
54
+	$(CP) css/styles.css $(DESTDIR)$(docdir)/css
55
+	$(CP) classes/html/*.html $(DESTDIR)$(docdir)/classes/html
56
+	$(CP) classes/html/*.png $(DESTDIR)$(docdir)/classes/html
57
+	$(CP) classes/html/*.css $(DESTDIR)$(docdir)/classes/html
58
+	$(CP) classes/html/*.js $(DESTDIR)$(docdir)/classes/html
59
+	$(CP) features/*.html $(DESTDIR)$(docdir)/features
60
+	$(CP) programming/*.html $(DESTDIR)$(docdir)/programming
61
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/*.html
62
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/css/*
63
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/a*.html
64
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/b*.html
65
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/c*.html
66
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/d*.html
67
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/e*.html
68
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/f*.html
69
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/g*.html
70
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/h*.html
71
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/i*.html
72
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/l*.html
73
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/m*.html
74
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/n*.html
75
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/p*.html
76
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/r*.html
77
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/s*.html
78
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/t*.html
79
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/u*.html
80
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/w*.html
81
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/x*.html
82
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/*.png
83
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/*.css
84
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/classes/html/*.js
85
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/features/*.html
86
+	$(CHMOD) 644 $(DESTDIR)$(docdir)/programming/*.html
87
 
88
 uninstall:
89
-	$(RMTREE) $(docdir)
90
+	$(RMTREE) $(DESTDIR)$(docdir)
(-)devel/rudiments/files/patch-include_Makefile.in (-39 lines)
Removed Link Here
1
--- include/Makefile.in.orig	2015-02-08 07:07:44 UTC
2
+++ include/Makefile.in
3
@@ -18,21 +18,21 @@ PRIVATEHEADERS7 = @PRIVATEHEADERS7@
4
 all:
5
 
6
 install:
7
-	$(MKINSTALLDIRS) $(includedir)/rudiments
8
-	$(MKINSTALLDIRS) $(includedir)/rudiments/private
9
-	cd rudiments $(AND) $(CP) $(HEADERS0) $(includedir)/rudiments
10
-	cd rudiments $(AND) $(CP) $(HEADERS1) $(includedir)/rudiments
11
-	cd rudiments $(AND) $(CP) $(HEADERS2) $(includedir)/rudiments
12
-	cd rudiments $(AND) $(CP) $(HEADERS3) $(includedir)/rudiments
13
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS0) $(includedir)/rudiments/private
14
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS1) $(includedir)/rudiments/private
15
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS2) $(includedir)/rudiments/private
16
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS3) $(includedir)/rudiments/private
17
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS4) $(includedir)/rudiments/private
18
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS5) $(includedir)/rudiments/private
19
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS6) $(includedir)/rudiments/private
20
-	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS7) $(includedir)/rudiments/private
21
-	$(CHMOD) 644 $(includedir)/rudiments/*.h $(includedir)/rudiments/private/*.h
22
+	$(MKINSTALLDIRS) ${DESTDIR}$(includedir)/rudiments
23
+	$(MKINSTALLDIRS) ${DESTDIR}$(includedir)/rudiments/private
24
+	cd rudiments $(AND) $(CP) $(HEADERS0) ${DESTDIR}$(includedir)/rudiments
25
+	cd rudiments $(AND) $(CP) $(HEADERS1) ${DESTDIR}$(includedir)/rudiments
26
+	cd rudiments $(AND) $(CP) $(HEADERS2) ${DESTDIR}$(includedir)/rudiments
27
+	cd rudiments $(AND) $(CP) $(HEADERS3) ${DESTDIR}$(includedir)/rudiments
28
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS0) ${DESTDIR}$(includedir)/rudiments/private
29
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS1) ${DESTDIR}$(includedir)/rudiments/private
30
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS2) ${DESTDIR}$(includedir)/rudiments/private
31
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS3) ${DESTDIR}$(includedir)/rudiments/private
32
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS4) ${DESTDIR}$(includedir)/rudiments/private
33
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS5) ${DESTDIR}$(includedir)/rudiments/private
34
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS6) ${DESTDIR}$(includedir)/rudiments/private
35
+	cd rudiments $(AND) cd private $(AND) $(CP) $(PRIVATEHEADERS7) ${DESTDIR}$(includedir)/rudiments/private
36
+	$(CHMOD) 644 ${DESTDIR}$(includedir)/rudiments/*.h ${DESTDIR}$(includedir)/rudiments/private/*.h
37
 
38
 uninstall:
39
 	$(RMTREE) $(includedir)/rudiments
(-)devel/rudiments/files/patch-man_Makefile (-18 lines)
Removed Link Here
1
--- man/Makefile.orig	2015-01-13 22:38:32 UTC
2
+++ man/Makefile
3
@@ -3,10 +3,10 @@ top_builddir = ..
4
 include ../config.mk
5
 
6
 install:
7
-	$(MKINSTALLDIRS) $(mandir)
8
-	$(MKINSTALLDIRS) $(mandir)/man1
9
-	$(CP) rudiments-config.1 $(mandir)/man1
10
-	$(CHMOD) 644 $(mandir)/man1/rudiments-config.1
11
+	$(MKINSTALLDIRS) $(DESTDIR)$(mandir)
12
+	$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
13
+	$(CP) rudiments-config.1 $(DESTDIR)$(mandir)/man1
14
+	$(CHMOD) 644 $(DESTDIR)$(mandir)/man1/rudiments-config.1
15
 
16
 uninstall:
17
-	$(RM) $(mandir)/man1/rudiments-config.1
18
+	$(RM) $(DESTDIR)$(mandir)/man1/rudiments-config.1
(-)devel/rudiments/files/patch-src_Makefile.in (-31 / +2 lines)
Lines 1-4 Link Here
1
--- src/Makefile.in.orig	2015-02-06 03:20:27 UTC
1
--- src/Makefile.in.orig	2016-02-06 03:58:09 UTC
2
+++ src/Makefile.in
2
+++ src/Makefile.in
3
@@ -11,7 +11,7 @@ LOBJS = @LOBJS@
3
@@ -11,7 +11,7 @@ LOBJS = @LOBJS@
4
 .SUFFIXES: .lo
4
 .SUFFIXES: .lo
Lines 9-15 Link Here
9
 
9
 
10
 .cpp.obj:
10
 .cpp.obj:
11
 	$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(COMPILE) $<
11
 	$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(COMPILE) $<
12
@@ -22,26 +22,26 @@ clean:
12
@@ -22,7 +22,7 @@ clean:
13
 	$(LTCLEAN) $(RM) *.lo *.o *.obj *.$(LIBEXT) *.lib *.exp *.idb *.pdb *.manifest
13
 	$(LTCLEAN) $(RM) *.lo *.o *.obj *.$(LIBEXT) *.lib *.exp *.idb *.pdb *.manifest
14
 
14
 
15
 librudiments.$(LIBEXT): $(SRCS) $(LOBJS)
15
 librudiments.$(LIBEXT): $(SRCS) $(LOBJS)
Lines 18-49 Link Here
18
 
18
 
19
 install: $(INSTALLLIB)
19
 install: $(INSTALLLIB)
20
 
20
 
21
 installdll:
22
-	$(MKINSTALLDIRS) $(bindir)
23
-	$(LTINSTALL) $(CP) librudiments.$(LIBEXT) $(bindir)
24
-	$(MKINSTALLDIRS) $(libdir)
25
-	$(LTINSTALL) $(CP) librudiments.lib $(libdir)
26
+	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
27
+	$(LTINSTALL) $(CP) librudiments.$(LIBEXT) $(DESTDIR)$(bindir)
28
+	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
29
+	$(LTINSTALL) $(CP) librudiments.lib $(DESTDIR)$(libdir)
30
 
31
 installlib:
32
-	$(MKINSTALLDIRS) $(libdir)
33
-	$(LTINSTALL) $(CP) librudiments.$(LIBEXT) $(libdir)
34
-	$(LTFINISH) $(libdir)
35
+	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
36
+	$(LTINSTALL) $(CP) librudiments.$(LIBEXT) $(DESTDIR)$(libdir)
37
+	$(LTFINISH) $(DESTDIR)$(libdir)
38
 
39
 uninstall: $(UNINSTALLLIB)
40
 
41
 uninstalldll:
42
-	$(LTUNINSTALL) $(RM) $(bindir)/librudiments.$(LIBEXT)
43
-	$(LTUNINSTALL) $(RM) $(libdir)/librudiments.lib
44
+	$(LTUNINSTALL) $(RM) $(DESTDIR)$(bindir)/librudiments.$(LIBEXT)
45
+	$(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/librudiments.lib
46
 
47
 uninstalllib:
48
-	$(LTUNINSTALL) $(RM) $(libdir)/librudiments.$(LIBEXT)
49
+	$(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/librudiments.$(LIBEXT)
(-)devel/simavr/Makefile (-1 / +2 lines)
Lines 20-26 BUILD_DEPENDS= avr-gcc:devel/avr-gcc \ Link Here
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	buserror
21
GH_ACCOUNT=	buserror
22
22
23
USES=		gmake pkgconfig
23
USES=		gmake pathfix pkgconfig
24
PATHFIX_MAKEFILEIN=	Makefile
24
ALL_TARGET=	build-simavr
25
ALL_TARGET=	build-simavr
25
MAKE_ARGS=	"RELEASE=1 PREFIX=${PREFIX} DESTDIR=${STAGEDIR}${PREFIX}"
26
MAKE_ARGS=	"RELEASE=1 PREFIX=${PREFIX} DESTDIR=${STAGEDIR}${PREFIX}"
26
27
(-)devel/simavr/files/patch-simavr_Makefile (-12 / +4 lines)
Lines 1-4 Link Here
1
--- simavr/Makefile.orig	2016-01-19 09:41:55 UTC
1
--- simavr/Makefile.orig	2016-10-03 12:42:39 UTC
2
+++ simavr/Makefile
2
+++ simavr/Makefile
3
@@ -73,12 +73,9 @@ ${OBJ}/libsimavr.so		: ${OBJ}/libsimavr.
3
@@ -73,12 +73,9 @@ ${OBJ}/libsimavr.so		: ${OBJ}/libsimavr.
4
 	ln -sf libsimavr.so.1 $@
4
 	ln -sf libsimavr.so.1 $@
Lines 14-32 Link Here
14
 
14
 
15
 ${target}	: ${OBJ}/${target}.elf
15
 ${target}	: ${OBJ}/${target}.elf
16
 
16
 
17
@@ -103,15 +100,13 @@ install : all
17
@@ -108,10 +105,8 @@ install : all
18
 	$(INSTALL) -m644 sim/avr/*.h $(DESTDIR)/include/simavr/avr/
18
 		simavr-avr.pc >$(DESTDIR)/libdata/pkgconfig/simavr-avr.pc
19
 	$(MKDIR) $(DESTDIR)/lib
20
 	$(INSTALL) ${OBJ}/libsimavr.a $(DESTDIR)/lib/
21
-	$(MKDIR) $(DESTDIR)/lib/pkgconfig/
22
+	$(MKDIR) $(DESTDIR)/libdata/pkgconfig/
23
 	sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \
19
 	sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \
24
-		simavr-avr.pc >$(DESTDIR)/lib/pkgconfig/simavr-avr.pc
20
 		simavr.pc >$(DESTDIR)/libdata/pkgconfig/simavr.pc
25
+		simavr-avr.pc >$(DESTDIR)/libdata/pkgconfig/simavr-avr.pc
26
 	sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \
27
-		simavr.pc >$(DESTDIR)/lib/pkgconfig/simavr.pc
28
-ifeq (${shell uname}, Linux)
21
-ifeq (${shell uname}, Linux)
29
+		simavr.pc >$(DESTDIR)/libdata/pkgconfig/simavr.pc
30
 	$(INSTALL) ${OBJ}/libsimavr.so.1 $(DESTDIR)/lib/
22
 	$(INSTALL) ${OBJ}/libsimavr.so.1 $(DESTDIR)/lib/
31
 	ln -sf libsimavr.so.1 $(DESTDIR)/lib/libsimavr.so
23
 	ln -sf libsimavr.so.1 $(DESTDIR)/lib/libsimavr.so
32
-endif
24
-endif
(-)devel/sparsehash/Makefile (-5 / +1 lines)
Lines 11-16 COMMENT= Extremely memory-efficient hash_map implementation Link Here
11
11
12
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
13
13
14
USES=		pathfix
14
USE_GITHUB=	yes
15
USE_GITHUB=	yes
15
GH_TAGNAME=	${PORTNAME}-${PORTVERSION}
16
GH_TAGNAME=	${PORTNAME}-${PORTVERSION}
16
17
Lines 18-28 GNU_CONFIGURE= yes Link Here
18
19
19
OPTIONS_DEFINE=	DOCS
20
OPTIONS_DEFINE=	DOCS
20
21
21
post-patch:
22
	${REINPLACE_CMD} -e \
23
		's|^pkgconfigdir = .*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
24
		${WRKSRC}/Makefile.in
25
26
post-patch-DOCS-on:
22
post-patch-DOCS-on:
27
	${REINPLACE_CMD} -e \
23
	${REINPLACE_CMD} -e \
28
		's|^docdir = .*|docdir = ${DOCSDIR}|' \
24
		's|^docdir = .*|docdir = ${DOCSDIR}|' \
(-)devel/tex-kpathsea/Makefile (-1 / +1 lines)
Lines 12-18 DIST_SUBDIR= TeX Link Here
12
MAINTAINER=	hrs@FreeBSD.org
12
MAINTAINER=	hrs@FreeBSD.org
13
COMMENT=	Path searching library for TeX
13
COMMENT=	Path searching library for TeX
14
14
15
USES=		libtool tar:xz
15
USES=		libtool pathfix tar:xz
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USE_TEX=	yes
17
USE_TEX=	yes
18
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
18
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
(-)devel/tex-kpathsea/files/patch-Makefile.in (-2 / +1 lines)
Lines 40-47 Link Here
40
 	xopendir.h \
40
 	xopendir.h \
41
 	xstat.h
41
 	xstat.h
42
 
42
 
43
-pkgconfigdir = ${libdir}/pkgconfig
43
 pkgconfigdir = $(prefix)/libdata/pkgconfig
44
+pkgconfigdir = $(prefix)/libdata/pkgconfig
45
 pkgconfig_DATA = kpathsea.pc
44
 pkgconfig_DATA = kpathsea.pc
46
 DISTCLEANFILES = paths.h stamp-paths kpathsea.h
45
 DISTCLEANFILES = paths.h stamp-paths kpathsea.h
47
 kpseaccess_SOURCES = access.c
46
 kpseaccess_SOURCES = access.c
(-)devel/tex-libtexlua/Makefile (-1 / +1 lines)
Lines 14-20 COMMENT= Lua library for TeXLive Link Here
14
LICENSE=	MIT
14
LICENSE=	MIT
15
LICENSE_FILE=	${WRKDIR}/LICENSE.MIT
15
LICENSE_FILE=	${WRKDIR}/LICENSE.MIT
16
16
17
USES=		tar:xz libtool pkgconfig
17
USES=		tar:xz libtool pathfix pkgconfig
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
19
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
20
EXTRACT_FILES=		build-aux libs/lua52
20
EXTRACT_FILES=		build-aux libs/lua52
(-)devel/tex-libtexlua/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2015-02-16 14:32:53 UTC
2
+++ Makefile.in
3
@@ -675,7 +675,7 @@ lua52include_HEADERS = \
4
 	$(LUA52_TREE)/src/lua.hpp \
5
 	$(LUA52_TREE)/src/lualib.h
6
 
7
-pkgconfigdir = ${libdir}/pkgconfig
8
+pkgconfigdir = ${prefix}/libdata/pkgconfig
9
 pkgconfig_DATA = texlua52.pc
10
 @build_TRUE@dist_check_SCRIPTS = lua52.test luaerror.test
11
 @build_TRUE@TESTS = lua52.test luaerror.test
(-)devel/tex-libtexluajit/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/LuaJIT-2.0.3/COPYRIGHT Link Here
16
16
17
BROKEN_powerpc64=	Does not build
17
BROKEN_powerpc64=	Does not build
18
18
19
USES=		tar:xz libtool pkgconfig
19
USES=		tar:xz libtool pathfix pkgconfig
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
21
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
22
EXTRACT_FILES=		build-aux libs/luajit
22
EXTRACT_FILES=		build-aux libs/luajit
(-)devel/tex-libtexluajit/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2015-02-16 14:32:53 UTC
2
+++ Makefile.in
3
@@ -728,7 +728,7 @@ luajitinclude_HEADERS = \
4
 	$(LUAJIT_TREE)/src/lua.hpp \
5
 	$(LUAJIT_TREE)/src/lualib.h
6
 
7
-pkgconfigdir = ${libdir}/pkgconfig
8
+pkgconfigdir = ${prefix}/libdata/pkgconfig
9
 pkgconfig_DATA = texluajit.pc
10
 @build_TRUE@dist_check_SCRIPTS = luajit.test luajiterr.test
11
 @build_TRUE@TESTS = luajit.test luajiterr.test
(-)devel/tex-synctex/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE= MIT Link Here
16
LICENSE_FILE=	${WRKSRC}/synctexdir/README.txt
16
LICENSE_FILE=	${WRKSRC}/synctexdir/README.txt
17
17
18
CONFLICTS=	tex-web2c-20150521
18
CONFLICTS=	tex-web2c-20150521
19
USES=		libtool pkgconfig tar:xz
19
USES=		libtool pathfix pkgconfig tar:xz
20
USE_TEX=	kpathsea
20
USE_TEX=	kpathsea
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
22
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
(-)devel/tex-synctex/files/patch-Makefile.in (-9 lines)
Lines 29-40 Link Here
29
 proglib = lib/lib.a
29
 proglib = lib/lib.a
30
 EXTRA_LIBRARIES = libmf.a libmputil.a libmplib.a libkanji.a \
30
 EXTRA_LIBRARIES = libmf.a libmputil.a libmplib.a libkanji.a \
31
 	libukanji.a libpdftex.a libluasocket.a libluajitsocket.a \
31
 	libukanji.a libpdftex.a libluasocket.a libluajitsocket.a \
32
@@ -3557,7 +3557,7 @@
33
 
34
 nodist_libsynctex_a_SOURCES = $(libsynctex_la_SOURCES)
35
 syncincludedir = ${includedir}/synctex
36
-pkgconfigdir = ${libdir}/pkgconfig
37
+pkgconfigdir = $(prefix)/libdata/pkgconfig
38
 @SYNCTEX_TRUE@syncinclude_HEADERS = \
39
 @SYNCTEX_TRUE@	synctexdir/synctex_parser.h \
40
 @SYNCTEX_TRUE@	synctexdir/synctex_parser_utils.h
(-)devel/tex-web2c/Makefile (-1 / +1 lines)
Lines 17-23 LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 \ Link Here
17
		libzzip.so:devel/zziplib \
17
		libzzip.so:devel/zziplib \
18
		libmpfr.so:math/mpfr
18
		libmpfr.so:math/mpfr
19
19
20
USES=		pkgconfig libtool tar:xz
20
USES=		pathfix pkgconfig libtool tar:xz
21
USE_TEX=	kpathsea ptexenc
21
USE_TEX=	kpathsea ptexenc
22
USE_XORG=	pixman
22
USE_XORG=	pixman
23
USE_GNOME=	cairo
23
USE_GNOME=	cairo
(-)devel/tex-web2c/files/patch-Makefile.in (-9 lines)
Lines 15-26 Link Here
15
 nodist_man_MANS = 
15
 nodist_man_MANS = 
16
 EXTRA_DIST = PROJECTS cftests cpascal.h help.h w2c/config.h \
16
 EXTRA_DIST = PROJECTS cftests cpascal.h help.h w2c/config.h \
17
 	triptrap-sh tangle.web tangle.ch tangleboot.pin cwebdir \
17
 	triptrap-sh tangle.web tangle.ch tangleboot.pin cwebdir \
18
@@ -3557,7 +3557,7 @@
19
 
20
 nodist_libsynctex_a_SOURCES = $(libsynctex_la_SOURCES)
21
 syncincludedir = ${includedir}/synctex
22
-pkgconfigdir = ${libdir}/pkgconfig
23
+pkgconfigdir = $(prefix)/libdata/pkgconfig
24
 @SYNCTEX_TRUE@syncinclude_HEADERS = \
25
 @SYNCTEX_TRUE@	synctexdir/synctex_parser.h \
26
 @SYNCTEX_TRUE@	synctexdir/synctex_parser_utils.h
(-)devel/thrift-c_glib/Makefile (-4 / +1 lines)
Lines 20-26 LIB_DEPENDS= libglib-2.0.so:devel/glib20 Link Here
20
20
21
DISTINFO_FILE=	${.CURDIR}/../thrift/distinfo
21
DISTINFO_FILE=	${.CURDIR}/../thrift/distinfo
22
22
23
USES=		autoreconf pkgconfig gmake libtool
23
USES=		autoreconf pathfix pkgconfig gmake libtool
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
MAKE_JOBS_UNSAFE=	yes
26
MAKE_JOBS_UNSAFE=	yes
Lines 43-49 CONFIGURE_ARGS+= \ Link Here
43
		--without-ruby \
43
		--without-ruby \
44
		--without-go
44
		--without-go
45
45
46
post-patch:
47
	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/c_glib/Makefile.am
48
49
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)devel/thrift-cpp/Makefile (-4 / +1 lines)
Lines 19-25 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ Link Here
19
		libevent.so:devel/libevent2
19
		libevent.so:devel/libevent2
20
20
21
USES=			autoreconf pkgconfig gmake compiler:c++11-lang \
21
USES=			autoreconf pkgconfig gmake compiler:c++11-lang \
22
			libtool ssl
22
			libtool pathfix ssl
23
GNU_CONFIGURE=		yes
23
GNU_CONFIGURE=		yes
24
USE_LDCONFIG=		yes
24
USE_LDCONFIG=		yes
25
MAKE_JOBS_UNSAFE=	yes
25
MAKE_JOBS_UNSAFE=	yes
Lines 60-68 BROKEN_FreeBSD_9= does not build with 9.x base OpenSSL Link Here
60
USE_CXXSTD=	c++11
60
USE_CXXSTD=	c++11
61
.endif
61
.endif
62
62
63
post-patch:
64
	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
65
66
post-install:
63
post-install:
67
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
64
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
68
	${LN} -sf libthrift-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthrift.so.0
65
	${LN} -sf libthrift-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthrift.so.0
(-)devel/unibilium/Makefile (-4 / +2 lines)
Lines 15-28 LICENSE_FILE= ${WRKSRC}/LGPLv3 Link Here
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	mauke
16
GH_ACCOUNT=	mauke
17
17
18
USES=		gmake libtool:build perl5 pkgconfig
18
USES=		gmake libtool:build pathfix perl5 pkgconfig
19
PATHFIX_MAKEFILEIN=	Makefile
19
USE_PERL5=	build
20
USE_PERL5=	build
20
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
21
MAKE_ARGS=	MANDIR=${MANPREFIX}/man
22
MAKE_ARGS=	MANDIR=${MANPREFIX}/man
22
23
23
post-patch:
24
	${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile
25
26
post-install:
24
post-install:
27
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libunibilium.so
25
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libunibilium.so
28
26
(-)devel/valgrind-devel/Makefile (-1 lines)
Lines 44-50 MPI_LIB_DEPENDS= libmpich.so:net/mpich2 Link Here
44
44
45
OPTIONS_SUB=	yes
45
OPTIONS_SUB=	yes
46
USES=		pathfix pkgconfig gmake perl5 shebangfix autoreconf
46
USES=		pathfix pkgconfig gmake perl5 shebangfix autoreconf
47
PATHFIX_MAKEFILEIN=	Makefile.am
48
USE_PERL5=	build
47
USE_PERL5=	build
49
GNU_CONFIGURE=	yes
48
GNU_CONFIGURE=	yes
50
USE_LDCONFIG=	yes
49
USE_LDCONFIG=	yes
(-)devel/valgrind/Makefile (-1 lines)
Lines 42-48 MPI_LIB_DEPENDS= libmpich.so:net/mpich2 Link Here
42
42
43
OPTIONS_SUB=	yes
43
OPTIONS_SUB=	yes
44
USES=		pathfix pkgconfig gmake perl5 shebangfix autoreconf
44
USES=		pathfix pkgconfig gmake perl5 shebangfix autoreconf
45
PATHFIX_MAKEFILEIN=	Makefile.am
46
USE_PERL5=	build
45
USE_PERL5=	build
47
GNU_CONFIGURE=	yes
46
GNU_CONFIGURE=	yes
48
USE_LDCONFIG=	yes
47
USE_LDCONFIG=	yes
(-)dns/bundy/Makefile (-1 lines)
Lines 36-42 USE_OPENSSL= yes Link Here
36
USES=	compiler:c++11-lang pathfix pkgconfig libtool python:3 autoreconf
36
USES=	compiler:c++11-lang pathfix pkgconfig libtool python:3 autoreconf
37
37
38
USE_LDCONFIG=	yes
38
USE_LDCONFIG=	yes
39
PATHFIX_MAKEFILEIN=	Makefile.am
40
GNU_CONFIGURE=	yes
39
GNU_CONFIGURE=	yes
41
CONFIGURE_ARGS=	--localstatedir=/var	\
40
CONFIGURE_ARGS=	--localstatedir=/var	\
42
		--without-werror \
41
		--without-werror \
(-)dns/getdns/Makefile (-3 / +1 lines)
Lines 21-27 LIB_DEPENDS= libexpat.so:textproc/expat2 \ Link Here
21
		libldns.so:dns/ldns \
21
		libldns.so:dns/ldns \
22
		libunbound.so:dns/unbound
22
		libunbound.so:dns/unbound
23
23
24
USES=		libtool
24
USES=		libtool pathfix
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--with-libidn=${LOCALBASE} --docdir=${DOCSDIR} \
27
CONFIGURE_ARGS=	--with-libidn=${LOCALBASE} --docdir=${DOCSDIR} \
Lines 53-60 CONFIGURE_ARGS+= --disable-gost Link Here
53
.endif
53
.endif
54
54
55
post-patch:
55
post-patch:
56
	${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
57
		${WRKSRC}/Makefile.in
58
	${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
56
	${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
59
		-e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in
57
		-e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in
60
58
(-)dns/libpsl/Makefile (-1 lines)
Lines 29-35 CONFIGURE_ARGS= --enable-man \ Link Here
29
		--with-psl-testfile=${LOCALBASE}/share/public_suffix_list/test_psl.txt
29
		--with-psl-testfile=${LOCALBASE}/share/public_suffix_list/test_psl.txt
30
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
31
INSTALL_TARGET=	install-strip
31
INSTALL_TARGET=	install-strip
32
PATHFIX_MAKEFILEIN=	Makefile.am
33
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
34
USES=		autoreconf libtool pathfix pkgconfig python:build shebangfix
33
USES=		autoreconf libtool pathfix pkgconfig python:build shebangfix
35
34
(-)emulators/open-vm-tools/Makefile (-1 / +1 lines)
Lines 42-48 ICU_LIB_DEPENDS= libicuuc.so:devel/icu Link Here
42
42
43
WRKSRC=			${WRKDIR}/open-vm-tools-${RELEASE_VER}-${BUILD_VER}
43
WRKSRC=			${WRKDIR}/open-vm-tools-${RELEASE_VER}-${BUILD_VER}
44
GNU_CONFIGURE=		yes
44
GNU_CONFIGURE=		yes
45
USES=			pkgconfig kmod libtool
45
USES=			pathfix pkgconfig kmod libtool
46
USE_GNOME=		glib20
46
USE_GNOME=		glib20
47
USE_LDCONFIG=		yes
47
USE_LDCONFIG=		yes
48
CPPFLAGS+=		-Wno-deprecated-declarations
48
CPPFLAGS+=		-Wno-deprecated-declarations
(-)emulators/open-vm-tools/files/patch-libguestlib-Makefile (-22 lines)
Removed Link Here
1
--- ./libguestlib/Makefile.am.orig	2010-04-28 03:17:28.000000000 +0900
2
+++ ./libguestlib/Makefile.am	2010-11-11 22:21:38.000000000 +0900
3
@@ -41,7 +41,7 @@
4
 
5
 EXTRA_DIST = vmguestlib.pc.in
6
 
7
-pkgconfigdir   = $(libdir)/pkgconfig
8
+pkgconfigdir   = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = vmguestlib.pc
10
 
11
 $(pkgconfig_DATA): $(top_builddir)/config.status
12
--- ./libguestlib/Makefile.in.orig	2010-04-28 03:18:19.000000000 +0900
13
+++ ./libguestlib/Makefile.in	2010-11-11 22:22:04.000000000 +0900
14
@@ -298,7 +298,7 @@
15
 	$(top_srcdir)/lib/include/vmSessionId.h \
16
 	$(top_srcdir)/lib/include/vm_basic_types.h
17
 EXTRA_DIST = vmguestlib.pc.in
18
-pkgconfigdir = $(libdir)/pkgconfig
19
+pkgconfigdir = $(prefix)/libdata/pkgconfig
20
 pkgconfig_DATA = vmguestlib.pc
21
 all: all-am
22
 
(-)ftp/curl/Makefile (-1 / +1 lines)
Lines 158-164 IGNORE= unsupported TLS-SRP in LibreSSL Link Here
158
158
159
post-patch:
159
post-patch:
160
	@${REINPLACE_CMD} -e '/^SUBDIRS = / s|$$| docs scripts|; /^DIST_SUBDIRS = / s| docs scripts||; /cd docs &&/d' ${WRKSRC}/Makefile.in
160
	@${REINPLACE_CMD} -e '/^SUBDIRS = / s|$$| docs scripts|; /^DIST_SUBDIRS = / s| docs scripts||; /cd docs &&/d' ${WRKSRC}/Makefile.in
161
	@${REINPLACE_CMD} -e 's|\(flags_dbg_off=\)".*"|\1""|; s|\(flags_opt_off=\)".*"|\1""|; s|lib/pkgconfig|libdata/pkgconfig|g' ${WRKSRC}/configure
161
	@${REINPLACE_CMD} -e 's|\(flags_dbg_off=\)".*"|\1""|; s|\(flags_opt_off=\)".*"|\1""|' ${WRKSRC}/configure
162
	@${REINPLACE_CMD} -e 's|include <gssapi.h>|include <gssapi/gssapi.h>|' ${WRKSRC}/lib/curl_gssapi.h ${WRKSRC}/lib/urldata.h
162
	@${REINPLACE_CMD} -e 's|include <gssapi.h>|include <gssapi/gssapi.h>|' ${WRKSRC}/lib/curl_gssapi.h ${WRKSRC}/lib/urldata.h
163
163
164
.if !defined(BUILDING_HIPHOP)
164
.if !defined(BUILDING_HIPHOP)
(-)ftp/curl/files/patch-configure (-10 lines)
Lines 70-85 Last-Update: 2010-12-19 Link Here
70
 
70
 
71
       if test "$want_optimize" = "yes"; then
71
       if test "$want_optimize" = "yes"; then
72
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
72
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
73
@@ -21417,7 +21425,8 @@ if test "$curl_ssl_msg" = "$init_ssl_msg
74
         PKGTEST="no"
75
     PREFIX_OPENSSL=$OPT_SSL
76
 
77
-                OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig"
78
+                # Use the FreeBSD location of the pkgconf libdir
79
+                OPENSSL_PCDIR="$LOCALBASE/libdata/pkgconfig"
80
     { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5
81
 $as_echo "$as_me: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&6;}
82
     if test -f "$OPENSSL_PCDIR/openssl.pc"; then
83
@@ -25050,29 +25059,30 @@ $as_echo "found" >&6; }
73
@@ -25050,29 +25059,30 @@ $as_echo "found" >&6; }
84
     ;;
74
     ;;
85
   off)
75
   off)
(-)ftp/curlpp/Makefile (-1 lines)
Lines 20-26 OPTIONS_DEFINE= BOOST DOCS EXAMPLES Link Here
20
CONFIGURE_ARGS=	--disable-ewarning
20
CONFIGURE_ARGS=	--disable-ewarning
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
USES=		autoreconf libtool localbase pathfix
24
USES=		autoreconf libtool localbase pathfix
26
25
(-)games/liblcf/Makefile (-1 lines)
Lines 18-24 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	EasyRPG
18
GH_ACCOUNT=	EasyRPG
19
19
20
USES=		autoreconf compiler:c++11-lib libtool pathfix pkgconfig
20
USES=		autoreconf compiler:c++11-lib libtool pathfix pkgconfig
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
(-)games/poker-engine/Makefile (-6 / +1 lines)
Lines 22-35 RUN_DEPENDS= ${LOCALBASE}/bin/rsync:net/rsync \ Link Here
22
		${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \
22
		${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \
23
		${PYTHON_SITELIBDIR}/libxslt.py:textproc/py-libxslt
23
		${PYTHON_SITELIBDIR}/libxslt.py:textproc/py-libxslt
24
24
25
USES=		gettext gmake pkgconfig python:2
25
USES=		gettext gmake pathfix pkgconfig python:2
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
27
28
post-patch:
29
	@${REINPLACE_CMD} -e \
30
		's|{datadir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
31
		${WRKSRC}/Makefile.in
32
33
test:
28
test:
34
	@cd ${WRKSRC} && ${MAKE_CMD} check
29
	@cd ${WRKSRC} && ${MAKE_CMD} check
35
30
(-)games/py-poker-eval/Makefile (-1 / +1 lines)
Lines 17-23 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
17
17
18
LIB_DEPENDS=	libpoker-eval.so:games/poker-eval
18
LIB_DEPENDS=	libpoker-eval.so:games/poker-eval
19
19
20
USES=		autoreconf libtool pkgconfig python:2
20
USES=		autoreconf libtool pathfix pkgconfig python:2
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	PYTHON=""
22
CONFIGURE_ARGS=	PYTHON=""
23
23
(-)games/py-poker-eval/files/patch-Makefile.am (-9 lines)
Lines 15-26 Link Here
15
 if PYTHON_2_6
15
 if PYTHON_2_6
16
 py2_6exec_LTLIBRARIES = _pokereval_2_6.la
16
 py2_6exec_LTLIBRARIES = _pokereval_2_6.la
17
 _pokereval_2_6_la_SOURCES = pypokereval.c
17
 _pokereval_2_6_la_SOURCES = pypokereval.c
18
@@ -64,7 +72,7 @@
19
 _pokereval_2_3_la_CFLAGS = ${PYTHON2_3_CFLAGS} ${POKER_EVAL_CFLAGS} -DPYTHON_VERSION=\"2_3\" -D'VERSION_NAME(w)=w\#\#2_3'
20
 endif
21
 
22
-pkgconfigdir = ${libdir}/pkgconfig
23
+pkgconfigdir = $(prefix)/libdata/pkgconfig
24
 pkgconfig_DATA = pypoker-eval.pc
25
 
26
 EXTRA_DIST = config/python.m4 config/ccpython.m4 \
(-)games/qqwing/Makefile (-1 lines)
Lines 17-23 USES= autoreconf gmake libtool pathfix pkgconfig Link Here
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_OUTSOURCE=	yes
19
CONFIGURE_OUTSOURCE=	yes
20
PATHFIX_MAKEFILEIN=	Makefile.am
21
AUTORECONF_WRKSRC=	${WRKSRC}/build
20
AUTORECONF_WRKSRC=	${WRKSRC}/build
22
CONFIGURE_CMD=	${AUTORECONF_WRKSRC}/configure
21
CONFIGURE_CMD=	${AUTORECONF_WRKSRC}/configure
23
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
(-)graphics/Coin/Makefile (-1 / +1 lines)
Lines 14-20 LICENSE= GPLv2 Link Here
14
14
15
LIB_DEPENDS=	libsimage.so:graphics/simage
15
LIB_DEPENDS=	libsimage.so:graphics/simage
16
16
17
USES=		openal:al libtool
17
USES=		openal:al libtool pathfix
18
USE_GL=		yes
18
USE_GL=		yes
19
USE_XORG=	ice sm x11 xext xt
19
USE_XORG=	ice sm x11 xext xt
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
(-)graphics/Coin/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2010-03-02 13:20:09 UTC
2
+++ Makefile.in
3
@@ -1399,7 +1399,7 @@ BOOST_HEADER_FILES = \
4
 	include/boost/version.hpp \
5
 	include/boost/visit_each.hpp
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(exec_prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = Coin.pc
10
 BUILT_SOURCES = \
11
 	include/Inventor/C/basic.h \
(-)graphics/GraphicsMagick/Makefile (-1 / +1 lines)
Lines 24-30 CONFIGURE_ENV= PTHREAD_LIBS=-lpthread Link Here
24
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
25
TEST_TARGET=	check
25
TEST_TARGET=	check
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
USES=		libtool localbase tar:bzip2
27
USES=		libtool localbase pathfix tar:bzip2
28
28
29
PORTDATA=	*
29
PORTDATA=	*
30
PORTDOCS=	*
30
PORTDOCS=	*
(-)graphics/GraphicsMagick/files/patch-Makefile.in (-9 lines)
Lines 9-20 Link Here
9
 MogrifyDelegate = @MogrifyDelegate@
9
 MogrifyDelegate = @MogrifyDelegate@
10
 NM = @NM@
10
 NM = @NM@
11
 NMEDIT = @NMEDIT@
11
 NMEDIT = @NMEDIT@
12
@@ -4381,7 +4381,7 @@ PERLMAGICK_MAINTAINER_TARGETS = $(top_sr
13
 @WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@PERLSTATICNAME = PerlMagick
14
 
15
 # Pkgconfig directory
16
-pkgconfigdir = $(libdir)/pkgconfig
17
+pkgconfigdir = $(prefix)/libdata/pkgconfig
18
 
19
 # Files to install in Pkgconfig directory
20
 pkgconfig_DATA = \
(-)graphics/agg/Makefile (-4 lines)
Lines 30-37 CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I../include -L./ Link Here
30
30
31
BROKEN_sparc64=		Does not compile
31
BROKEN_sparc64=		Does not compile
32
32
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
35
		${WRKSRC}/Makefile.am
36
37
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)graphics/cal3d/Makefile (-1 lines)
Lines 20-26 COMMENT= Skeletal based 3D character animation library written in C++ Link Here
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USES=		autoreconf libtool pathfix pkgconfig tar:bzip2
22
USES=		autoreconf libtool pathfix pkgconfig tar:bzip2
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
26
25
(-)graphics/freeglut/Makefile (-1 / +1 lines)
Lines 12-18 COMMENT= open source implementation of the GLUT library Link Here
12
LICENSE=	MIT
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USES=		cmake
15
USES=		cmake pathfix
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USE_XORG=	ice x11 xi xrandr
17
USE_XORG=	ice x11 xi xrandr
18
USE_GL=		gl glu
18
USE_GL=		gl glu
(-)graphics/freeglut/files/patch-CMakeLists.txt (-10 lines)
Removed Link Here
1
--- CMakeLists.txt.orig	2015-02-18 04:59:57 UTC
2
+++ CMakeLists.txt
3
@@ -522,6 +522,6 @@ IF(FREEGLUT_GLES)
4
   SET(PC_FILENAME "freeglut-gles.pc")
5
 ENDIF()
6
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/freeglut.pc.in ${CMAKE_BINARY_DIR}/freeglut.pc @ONLY)
7
-INSTALL(FILES ${CMAKE_BINARY_DIR}/freeglut.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/ RENAME ${PC_FILENAME})
8
+INSTALL(FILES ${CMAKE_BINARY_DIR}/freeglut.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/ RENAME ${PC_FILENAME})
9
 # TODO: change the library and .pc name when building for GLES,
10
 # e.g. -lglut-GLES
(-)graphics/iec16022/Makefile (-2 lines)
Lines 20-27 GNU_CONFIGURE= yes Link Here
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
USES=		autoreconf gmake libtool pathfix pkgconfig
21
USES=		autoreconf gmake libtool pathfix pkgconfig
22
22
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
25
CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
23
CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
26
24
27
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
(-)graphics/leptonica/Makefile (-1 / +1 lines)
Lines 18-24 LIB_DEPENDS= libgif.so:graphics/giflib \ Link Here
18
18
19
CONFLICTS=	leptonlib-[0-9]*
19
CONFLICTS=	leptonlib-[0-9]*
20
20
21
USES=		jpeg libtool
21
USES=		jpeg libtool pathfix
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${LOCALBASE}/include
(-)graphics/leptonica/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2015-04-26 20:30:38 UTC
2
+++ Makefile.in
3
@@ -270,7 +270,7 @@ top_srcdir = @top_srcdir@
4
 ACLOCAL_AMFLAGS = -I m4
5
 AUTOMAKE_OPTIONS = foreign
6
 EXTRA_DIST = config README.html leptonica-license.txt moller52.jpg version-notes.html make-for-auto make-for-local autobuild
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = lept.pc
10
 SUBDIRS = src prog
11
 all: config_auto.h
(-)graphics/libepoxy/Makefile (-1 lines)
Lines 19-24 USE_XORG= xorg-macros x11 Link Here
19
USE_GL=		egl glesv2
19
USE_GL=		egl glesv2
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
22
PATHFIX_MAKEFILEIN=	Makefile.am
23
22
24
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)graphics/libpano13/Makefile (-1 / +1 lines)
Lines 18-24 LIB_DEPENDS= libpng16.so:graphics/png \ Link Here
18
18
19
USE_GNOME=	gtk20 glib20 pango atk
19
USE_GNOME=	gtk20 glib20 pango atk
20
20
21
USES=		autoreconf jpeg libtool
21
USES=		autoreconf jpeg libtool pathfix
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
CPPFLAGS+=	-I${LOCALBASE}/include/gtk-2.0 \
23
CPPFLAGS+=	-I${LOCALBASE}/include/gtk-2.0 \
24
		-I${LOCALBASE}/include/glib-2.0 \
24
		-I${LOCALBASE}/include/glib-2.0 \
(-)graphics/libpano13/files/patch-Makefile.am (-9 lines)
Lines 27-38 Link Here
27
 libpano13_la_DEPENDENCIES = @PANO_WIN32_RESOURCE@
27
 libpano13_la_DEPENDENCIES = @PANO_WIN32_RESOURCE@
28
 
28
 
29
 pkginclude_HEADERS = $(STD_HDR) $(TOOL_HDR)
29
 pkginclude_HEADERS = $(STD_HDR) $(TOOL_HDR)
30
@@ -108,7 +118,7 @@
31
 noinst_HEADERS = $(INTERNAL_HDR) $(SYS_HDR) $(MAC_HDR)
32
 
33
 # Pkg-config script.
34
-pkgconfigdir = $(libdir)/pkgconfig
35
+pkgconfigdir = $(exec_prefix)/libdata/pkgconfig
36
 pkgconfig_DATA = libpano13.pc
37
 DISTCLEANFILES = $(pkgconfig_DATA)
38
 
(-)graphics/libpgf/Makefile (-1 / +1 lines)
Lines 12-18 COMMENT= Progressive Graphics Format (PGF) library Link Here
12
12
13
LICENSE=	LGPL21
13
LICENSE=	LGPL21
14
14
15
USES=		autoreconf dos2unix libtool zip
15
USES=		autoreconf dos2unix libtool pathfix zip
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
18
DOS2UNIX_FILES=	configure.ac
18
DOS2UNIX_FILES=	configure.ac
(-)graphics/libpgf/files/patch-Makefile.am (-11 lines)
Lines 13-26 Link Here
13
 
13
 
14
 PACKAGE		= @PACKAGE@
14
 PACKAGE		= @PACKAGE@
15
 VERSION		= @VERSION@
15
 VERSION		= @VERSION@
16
@@ -22,8 +22,8 @@ RPMRELEASE=$(PACKAGE_RELEASE)
17
 ACLOCAL_AMFLAGS = -I m4
18
 
19
 install-data-local:: $(PACKAGE).pc
20
-	$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
21
-	$(INSTALL) -m 644 $(PACKAGE).pc $(DESTDIR)$(libdir)/pkgconfig/$(PACKAGE).pc
22
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/libdata/pkgconfig
23
+	$(INSTALL) -m 644 $(PACKAGE).pc $(DESTDIR)$(prefix)/libdata/pkgconfig/$(PACKAGE).pc
24
 
25
 
26
 .PHONY: ChangeLog
(-)graphics/libreatlas/Makefile (-3 / +1 lines)
Lines 31-37 LIB_DEPENDS= libmspack.so:archivers/libmspack \ Link Here
31
		libfontconfig.so:x11-fonts/fontconfig
31
		libfontconfig.so:x11-fonts/fontconfig
32
32
33
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
34
USES=		gettext gmake iconv jpeg pkgconfig
34
USES=		gettext gmake iconv jpeg pathfix pkgconfig
35
USE_XORG=	ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
35
USE_XORG=	ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
36
		xfixes xi xinerama xrandr xrender xxf86vm
36
		xfixes xi xinerama xrandr xrender xxf86vm
37
USE_GNOME=	atk gdkpixbuf2 glib20 gtk20 pango
37
USE_GNOME=	atk gdkpixbuf2 glib20 gtk20 pango
Lines 49-55 DESKTOP_ENTRIES="LibreAtlas" "${COMMENT}" "" "LibreAtlas" \ Link Here
49
49
50
post-patch:
50
post-patch:
51
	@${REINPLACE_CMD} -e 's|wx-config|$${WX_CONFIG}|' ${WRKSRC}/configure
51
	@${REINPLACE_CMD} -e 's|wx-config|$${WX_CONFIG}|' ${WRKSRC}/configure
52
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
53
		${WRKSRC}/Makefile.in
54
52
55
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)graphics/libspiro/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	fontforge
16
GH_ACCOUNT=	fontforge
17
17
18
USES=		gmake libtool autoreconf
18
USES=		autoreconf gmake libtool pathfix
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
(-)graphics/libspiro/files/patch-Makefile.am (-6 / +3 lines)
Lines 1-16 Link Here
1
--- Makefile.am.orig	2015-07-02 13:50:20 UTC
1
--- Makefile.am.orig	2016-10-03 14:37:13 UTC
2
+++ Makefile.am
2
+++ Makefile.am
3
@@ -1,8 +1,8 @@
3
@@ -1,6 +1,6 @@
4
 # Makefile.am - Top level automakefile for libspiro
4
 # Makefile.am - Top level automakefile for libspiro
5
 
5
 
6
-SUBDIRS = . tests
6
-SUBDIRS = . tests
7
+SUBDIRS = .
7
+SUBDIRS = .
8
 
8
 
9
-pkgconfigdir = $(libdir)/pkgconfig
9
 pkgconfigdir = $(prefix)/libdata/pkgconfig
10
+pkgconfigdir = ${PREFIX}/libdata/pkgconfig
11
 pkgconfig_DATA = libspiro.pc
10
 pkgconfig_DATA = libspiro.pc
12
 
13
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
14
@@ -13,7 +13,7 @@ AM_LDFLAGS = $(WLSLIB) $(LS_LIB) -no-und
11
@@ -13,7 +13,7 @@ AM_LDFLAGS = $(WLSLIB) $(LS_LIB) -no-und
15
 LIBTOOL_DEPS = @LIBTOOL_DEPS@
12
 LIBTOOL_DEPS = @LIBTOOL_DEPS@
16
 
13
 
(-)graphics/ming/Makefile (-1 lines)
Lines 29-35 CONFIGURE_ARGS= --includedir=${PREFIX}/include/ming Link Here
29
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
30
INSTALL_TARGET=	install-strip
30
INSTALL_TARGET=	install-strip
31
MAKE_JOBS_UNSAFE=	yes
31
MAKE_JOBS_UNSAFE=	yes
32
PATHFIX_MAKEFILEIN=	Makefile.am
33
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
34
USES=		autoreconf bison gmake libtool localbase pathfix shebangfix
33
USES=		autoreconf bison gmake libtool localbase pathfix shebangfix
35
34
(-)graphics/opengtl/Makefile (-6 / +1 lines)
Lines 18-24 LICENSE= LGPL20 Link Here
18
LIB_DEPENDS=	libpng.so:graphics/png \
18
LIB_DEPENDS=	libpng.so:graphics/png \
19
		libLLVM-3.3.so:devel/llvm33
19
		libLLVM-3.3.so:devel/llvm33
20
20
21
USES=		cmake perl5 tar:bzip2
21
USES=		cmake pathfix perl5 tar:bzip2
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
CMAKE_ARGS=	-DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33
23
CMAKE_ARGS=	-DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33
24
24
Lines 38-47 post-patch: Link Here
38
pre-configure:
38
pre-configure:
39
	${REINPLACE_CMD} -e 's|set(OPENGTL_LIB_SOVERSION.*|set(OPENGTL_LIB_SOVERSION "0")|' \
39
	${REINPLACE_CMD} -e 's|set(OPENGTL_LIB_SOVERSION.*|set(OPENGTL_LIB_SOVERSION "0")|' \
40
		${PATCH_WRKSRC}/CMakeLists.txt
40
		${PATCH_WRKSRC}/CMakeLists.txt
41
	${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
42
		${PATCH_WRKSRC}/OpenCTL/OpenCTL/CMakeLists.txt \
43
		${PATCH_WRKSRC}/OpenGTL/GTLCore/CMakeLists.txt \
44
		${PATCH_WRKSRC}/OpenGTL/GTLImageIO/CMakeLists.txt \
45
		${PATCH_WRKSRC}/OpenShiva/OpenShiva/CMakeLists.txt
46
41
47
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)graphics/pfstools/Makefile (-1 / +1 lines)
Lines 17-23 RUN_DEPENDS+= bash:shells/bash Link Here
17
PFS_BUILD=	${MACHINE_ARCH}-portbld-freebsd${OSREL}
17
PFS_BUILD=	${MACHINE_ARCH}-portbld-freebsd${OSREL}
18
PLIST_SUB+=	PFS_BASE=${PREFIX}
18
PLIST_SUB+=	PFS_BASE=${PREFIX}
19
19
20
USES=		gmake pkgconfig libtool
20
USES=		gmake libtool pathfix pkgconfig
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_TARGET=	${PFS_BUILD}
22
CONFIGURE_TARGET=	${PFS_BUILD}
23
CONFIGURE_ARGS+=	--disable-jpeghdr --disable-matlab \
23
CONFIGURE_ARGS+=	--disable-jpeghdr --disable-matlab \
(-)graphics/pfstools/files/patch-src-pfs-Makefile.in (-11 lines)
Removed Link Here
1
--- src/pfs/Makefile.in.orig	2011-10-27 08:40:30 UTC
2
+++ src/pfs/Makefile.in
3
@@ -259,7 +259,7 @@ libpfs_1_2_la_SOURCES = pfs.cpp pfsutils
4
 library_includedir = $(includedir)/pfs-1.2
5
 library_include_HEADERS = pfs.h array2d.h
6
 #INCLUDES = 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = pfs.pc
10
 all: all-am
11
 
(-)graphics/qtgtl/Makefile (-4 / +1 lines)
Lines 14-20 LICENSE= LGPL20 Link Here
14
LIB_DEPENDS=	libGTLCore.so:graphics/opengtl
14
LIB_DEPENDS=	libGTLCore.so:graphics/opengtl
15
15
16
USE_QT4=	corelib gui moc_build qmake_build rcc_build uic_build
16
USE_QT4=	corelib gui moc_build qmake_build rcc_build uic_build
17
USES=		cmake:outsource pkgconfig tar:bzip2
17
USES=		cmake:outsource pathfix pkgconfig tar:bzip2
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
19
20
DESCR=		${.CURDIR:H:H}/graphics/opengtl/pkg-descr
20
DESCR=		${.CURDIR:H:H}/graphics/opengtl/pkg-descr
Lines 26-34 OPTIONS_DEFINE= EXAMPLES Link Here
26
pre-configure:
26
pre-configure:
27
	@${REINPLACE_CMD} -e 's,set(QTGTL_LIB_SOVERSION.*,set(QTGTL_LIB_SOVERSION "0"),' \
27
	@${REINPLACE_CMD} -e 's,set(QTGTL_LIB_SOVERSION.*,set(QTGTL_LIB_SOVERSION "0"),' \
28
		${PATCH_WRKSRC}/CMakeLists.txt
28
		${PATCH_WRKSRC}/CMakeLists.txt
29
	@${REINPLACE_CMD} -e 's,$${LIB_INSTALL_DIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,g' \
30
		${PATCH_WRKSRC}/QtGTL/CMakeLists.txt \
31
		${PATCH_WRKSRC}/QtShiva/CMakeLists.txt
32
29
33
post-install:
30
post-install:
34
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
31
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(-)graphics/s2tc/Makefile (-1 lines)
Lines 24-30 GH_ACCOUNT= divVerent Link Here
24
GH_TAGNAME=	f6ec862
24
GH_TAGNAME=	f6ec862
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
INSTALL_TARGET=	install-strip
26
INSTALL_TARGET=	install-strip
27
PATHFIX_MAKEFILEIN=Makefile.am
28
27
29
CPPFLAGS+=	-I${LOCALBASE}/include
28
CPPFLAGS+=	-I${LOCALBASE}/include
30
29
(-)graphics/sdl_gfx/Makefile (-1 lines)
Lines 14-20 COMMENT= SDL graphics drawing primitives and other support functions Link Here
14
LICENSE=	ZLIB
14
LICENSE=	ZLIB
15
15
16
USES=		autoreconf gmake libtool pathfix
16
USES=		autoreconf gmake libtool pathfix
17
PATHFIX_MAKEFILEIN=	Makefile.am
18
USE_SDL=	sdl
17
USE_SDL=	sdl
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--includedir=${PREFIX}/include
19
CONFIGURE_ARGS=	--includedir=${PREFIX}/include
(-)graphics/sekrit-twc-zimg/Makefile (-1 lines)
Lines 21-27 CONFLICTS_INSTALL= zimg-[0-9]* # include/zimg.h Link Here
21
21
22
USES=		autoreconf compiler:c++11-lib gmake libtool pathfix
22
USES=		autoreconf compiler:c++11-lib gmake libtool pathfix
23
EXTRACT_AFTER_ARGS=	--exclude test/extra
23
EXTRACT_AFTER_ARGS=	--exclude test/extra
24
PATHFIX_MAKEFILEIN=	Makefile.am
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
CPPFLAGS+=	-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
25
CPPFLAGS+=	-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
27
		-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
26
		-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
(-)graphics/tesseract/Makefile (-4 / +1 lines)
Lines 13-19 LICENSE= APACHE20 Link Here
13
13
14
LIB_DEPENDS=	liblept.so:graphics/leptonica
14
LIB_DEPENDS=	liblept.so:graphics/leptonica
15
15
16
USES=		localbase libtool
16
USES=		localbase libtool pathfix
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
19
Lines 39-47 TOOLS_USE= GNOME=cairo,glib20,pango Link Here
39
39
40
post-patch:
40
post-patch:
41
	@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure
41
	@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure
42
	@${REINPLACE_CMD} -e \
43
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
44
		${WRKSRC}/Makefile.in
45
42
46
post-build-TOOLS-on:
43
post-build-TOOLS-on:
47
	@cd ${WRKSRC} && ${MAKE} training
44
	@cd ${WRKSRC} && ${MAKE} training
(-)graphics/tiff/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/COPYRIGHT Link Here
16
16
17
LIB_DEPENDS=	libjbig.so:graphics/jbigkit
17
LIB_DEPENDS=	libjbig.so:graphics/jbigkit
18
18
19
USES=		cpe jpeg libtool
19
USES=		cpe jpeg libtool pathfix
20
CPE_PRODUCT=	libtiff
20
CPE_PRODUCT=	libtiff
21
CPE_VERSION=	${DISTVERSION:C/[a-z]+//}
21
CPE_VERSION=	${DISTVERSION:C/[a-z]+//}
22
CPE_UPDATE=	${DISTVERSION:C/[0-9.]+//}
22
CPE_UPDATE=	${DISTVERSION:C/[0-9.]+//}
(-)graphics/tiff/files/patch-Makefile.in (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.in.orig	2015-09-12 19:48:44 UTC
1
--- Makefile.in.orig	2015-09-12 19:48:44 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -436,7 +436,7 @@ EXTRA_DIST = \
4
 
5
 dist_doc_DATA = $(docfiles)
6
 SUBDIRS = port libtiff tools build contrib test man html
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libtiff-4.pc
10
 
11
 # Special rules to assist with Coverity submissions.
12
@@ -494,19 +494,6 @@ distclean-libtool:
3
@@ -494,19 +494,6 @@ distclean-libtool:
13
 	-rm -f libtool config.lt
4
 	-rm -f libtool config.lt
14
 install-dist_docDATA: $(dist_doc_DATA)
5
 install-dist_docDATA: $(dist_doc_DATA)
(-)graphics/tiffgt/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/COPYRIGHT Link Here
16
LIB_DEPENDS=	libjbig.so:graphics/jbigkit \
16
LIB_DEPENDS=	libjbig.so:graphics/jbigkit \
17
		libtiff.so:graphics/tiff
17
		libtiff.so:graphics/tiff
18
18
19
USES=		cpe jpeg libtool
19
USES=		cpe jpeg libtool pathfix
20
CPE_PRODUCT=	libtiff
20
CPE_PRODUCT=	libtiff
21
CPE_VERSION=	${DISTVERSION:C/[a-z]+//}
21
CPE_VERSION=	${DISTVERSION:C/[a-z]+//}
22
CPE_UPDATE=	${DISTVERSION:C/[0-9.]+//}
22
CPE_UPDATE=	${DISTVERSION:C/[0-9.]+//}
(-)graphics/tiffgt/files/patch-Makefile.in (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.in.orig	2015-06-21 19:07:53 UTC
1
--- Makefile.in.orig	2015-06-21 19:07:53 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -434,7 +434,7 @@ EXTRA_DIST = \
4
 
5
 dist_doc_DATA = $(docfiles)
6
 SUBDIRS = port libtiff tools build contrib test man html
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libtiff-4.pc
10
 all: all-recursive
11
 
12
@@ -485,19 +485,6 @@ distclean-libtool:
3
@@ -485,19 +485,6 @@ distclean-libtool:
13
 	-rm -f libtool config.lt
4
 	-rm -f libtool config.lt
14
 install-dist_docDATA: $(dist_doc_DATA)
5
 install-dist_docDATA: $(dist_doc_DATA)
(-)graphics/waffle/Makefile (-1 / +1 lines)
Lines 11-17 COMMENT= Library that allows to defer selection of an OpenGL API until runtime Link Here
11
11
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	BSD2CLAUSE
13
13
14
USES=		cmake:outsource compiler:c11 localbase ninja pkgconfig tar:xz
14
USES=		cmake:outsource compiler:c11 localbase ninja pathfix pkgconfig tar:xz
15
USE_GL=		egl gl
15
USE_GL=		egl gl
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USE_XORG=	x11 xcb
17
USE_XORG=	x11 xcb
(-)graphics/waffle/files/patch-CMakeLists.txt (-11 lines)
Removed Link Here
1
--- CMakeLists.txt.orig	2015-01-22 20:00:17 UTC
2
+++ CMakeLists.txt
3
@@ -136,7 +136,7 @@ configure_file(waffle.pc.in ${waffle_lib
4
 
5
 install(
6
     FILES ${CMAKE_BINARY_DIR}/${waffle_libname}.pc
7
-    DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
8
+    DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig
9
     COMPONENT pkgconfig
10
     )
11
 
(-)graphics/zathura/Makefile (-2 / +2 lines)
Lines 20-26 LIB_DEPENDS= libcairo.so:graphics/cairo \ Link Here
20
BUILD_DEPENDS+=	rst2html:textproc/py-docutils
20
BUILD_DEPENDS+=	rst2html:textproc/py-docutils
21
21
22
USE_GNOME=	glib20 gtk30 gdkpixbuf2
22
USE_GNOME=	glib20 gtk30 gdkpixbuf2
23
USES=		compiler:c11 gmake pkgconfig
23
USES=		compiler:c11 gmake pathfix pkgconfig
24
PATHFIX_MAKEFILEIN=	Makefile
24
MAKE_ENV=	SFLAGS="${STRIP}" \
25
MAKE_ENV=	SFLAGS="${STRIP}" \
25
		RSTTOMAN=${LOCALBASE}/bin/rst2man \
26
		RSTTOMAN=${LOCALBASE}/bin/rst2man \
26
		ZLIB_INC= \
27
		ZLIB_INC= \
Lines 39-45 NLS_USES= gettext Link Here
39
40
40
post-patch:	.SILENT
41
post-patch:	.SILENT
41
	${REINPLACE_CMD} -e 's|man[15]|man/&|g' \
42
	${REINPLACE_CMD} -e 's|man[15]|man/&|g' \
42
		-e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g'\
43
		${WRKSRC}/Makefile
43
		${WRKSRC}/Makefile
44
	${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\
44
	${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\
45
		${WRKSRC}/config.mk
45
		${WRKSRC}/config.mk
(-)graphics/zbar/Makefile (-5 / +1 lines)
Lines 14-20 LICENSE= LGPL21 Link Here
14
14
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USES=		iconv jpeg libtool gmake pkgconfig
17
USES=		iconv jpeg libtool gmake pathfix pkgconfig
18
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
19
19
20
CONFIGURE_ARGS=	--with-jpeg=yes
20
CONFIGURE_ARGS=	--with-jpeg=yes
Lines 52-61 QT4_CONFIGURE_OFF= --with-qt=no Link Here
52
CPPFLAGS+=	-I${LOCALBASE}/include
52
CPPFLAGS+=	-I${LOCALBASE}/include
53
LDFLAGS+=	-L${LOCALBASE}/lib
53
LDFLAGS+=	-L${LOCALBASE}/lib
54
54
55
post-patch:
56
	@${REINPLACE_CMD} 's|^pkgconfigdir = .*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
57
		${WRKSRC}/Makefile.in
58
59
post-patch-DOCS-off:
55
post-patch-DOCS-off:
60
	@${REINPLACE_CMD} '/^install-data-am: /s/install-dist_docDATA//' \
56
	@${REINPLACE_CMD} '/^install-data-am: /s/install-dist_docDATA//' \
61
		${WRKSRC}/Makefile.in
57
		${WRKSRC}/Makefile.in
(-)irc/ctrlproxy/Makefile (-1 / +2 lines)
Lines 16-22 LIB_DEPENDS= libgnutls.so:security/gnutls Link Here
16
USE_GNOME=	glib20
16
USE_GNOME=	glib20
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USES=		pkgconfig gmake
19
USES=		gmake pathfix pkgconfig
20
PATHFIX_MAKEFILEIN=	Makefile
20
21
21
CPPFLAGS+=	-I${LOCALBASE}/include
22
CPPFLAGS+=	-I${LOCALBASE}/include
22
LDFLAGS+=	-L${LOCALBASE}/lib
23
LDFLAGS+=	-L${LOCALBASE}/lib
(-)irc/ctrlproxy/files/patch-Makefile (-16 / +5 lines)
Lines 1-7 Link Here
1
--- Makefile.orig	Sun Apr 15 14:17:58 2007
1
--- Makefile.orig	2008-12-06 17:36:33 UTC
2
+++ Makefile	Sat Jun 16 12:00:33 2007
2
+++ Makefile
3
@@ -108,7 +108,7 @@
3
@@ -145,7 +145,7 @@ endif
4
 ctrlproxy.pc Makefile.settings: configure Makefile.settings.in ctrlproxy.pc.in
4
 ctrlproxy.pc Makefile.settings config.h: configure Makefile.settings.in ctrlproxy.pc.in
5
 	./$<
5
 	./$<
6
 
6
 
7
-install: all install-dirs install-bin install-header install-data install-pkgconfig $(EXTRA_INSTALL_TARGETS)
7
-install: all install-dirs install-bin install-header install-data install-pkgconfig $(EXTRA_INSTALL_TARGETS)
Lines 9-15 Link Here
9
 install-dirs:
9
 install-dirs:
10
 	$(INSTALL) -d $(DESTDIR)$(modulesdir)
10
 	$(INSTALL) -d $(DESTDIR)$(modulesdir)
11
 
11
 
12
@@ -133,7 +133,6 @@
12
@@ -177,7 +177,6 @@ doc::
13
 
13
 
14
 install-doc:: doc
14
 install-doc:: doc
15
 	$(INSTALL) -d $(DESTDIR)$(docdir)
15
 	$(INSTALL) -d $(DESTDIR)$(docdir)
Lines 17-30 Link Here
17
 
17
 
18
 uninstall-doc: 
18
 uninstall-doc: 
19
 	$(MAKE) -C doc uninstall
19
 	$(MAKE) -C doc uninstall
20
@@ -156,8 +154,8 @@
21
	$(INSTALL) -m 0644 config.admin $(DESTDIR)$(DEFAULT_CONFIG_DIR)/networks/admin
22
 
23
 install-pkgconfig:
24
-	$(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
25
-	$(INSTALL) -m 0644 ctrlproxy.pc $(DESTDIR)$(libdir)/pkgconfig
26
+	$(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig
27
+	$(INSTALL) -m 0644 ctrlproxy.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
28
 
29
 uninstall-pkgconfig:
30
 	-rm -f $(DESTDIR)$(libdir)/pkgconfig/ctrlproxy.pc
(-)irc/znc/Makefile (-4 / +1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USE_RC_SUBR=	znc
18
USE_RC_SUBR=	znc
19
USES=		compiler:c++11-lib cpe gmake iconv pkgconfig
19
USES=		compiler:c++11-lib cpe gmake iconv pathfix pkgconfig
20
MAKE_ENV=	V=1
20
MAKE_ENV=	V=1
21
21
22
PORTDOCS=	README.md
22
PORTDOCS=	README.md
Lines 66-74 pre-configure-PYTHON-on: Link Here
66
66
67
post-patch:
67
post-patch:
68
	@${REINPLACE_CMD} -e \
68
	@${REINPLACE_CMD} -e \
69
		's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' \
70
		${WRKSRC}/Makefile.in
71
	@${REINPLACE_CMD} -e \
72
		's#/usr/local#${LOCALBASE}#' ${WRKSRC}/configure
69
		's#/usr/local#${LOCALBASE}#' ${WRKSRC}/configure
73
70
74
post-install-DOCS-on:
71
post-install-DOCS-on:
(-)korean/gtkcomm/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE= GPLv2 Link Here
15
RUN_DEPENDS=	${LOCALBASE}/share/fonts/baekmukfonts/gulim12.pcf.gz:korean/baekmukfonts-bdf
15
RUN_DEPENDS=	${LOCALBASE}/share/fonts/baekmukfonts/gulim12.pcf.gz:korean/baekmukfonts-bdf
16
16
17
USES=		gettext pathfix perl5 pkgconfig
17
USES=		gettext pathfix perl5 pkgconfig
18
PATHFIX_MAKEFILEIN=	Makefile*in
18
PATHFIX_MAKEFILEIN=	Makefile.in Makefile.in.in
19
USE_PERL5=	build
19
USE_PERL5=	build
20
USE_GNOME=	glib20 gtk20
20
USE_GNOME=	glib20 gtk20
21
USE_XORG=	x11
21
USE_XORG=	x11
(-)korean/libhangul/Makefile (-1 lines)
Lines 19-25 GH_TAGNAME= 9fe2d4e Link Here
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
PATHFIX_MAKEFILEIN=	Makefile.am
23
TEST_TARGET=	test
22
TEST_TARGET=	test
24
TEST_WRKSRC=	${WRKSRC}/test
23
TEST_WRKSRC=	${WRKSRC}/test
25
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
(-)lang/cjs/Makefile (-1 lines)
Lines 21-27 USE_GNOME= cairo glib20 gnomeprefix introspection:build Link Here
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	linuxmint
22
GH_ACCOUNT=	linuxmint
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
PATHFIX_MAKEFILEIN=	Makefile.am
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
CFLAGS+=	-I${LOCALBASE}/include
25
CFLAGS+=	-I${LOCALBASE}/include
27
CPPFLAGS+=	-I${LOCALBASE}/include
26
CPPFLAGS+=	-I${LOCALBASE}/include
(-)lang/python27/Makefile (-2 / +2 lines)
Lines 12-18 COMMENT= Interpreted object-oriented programming language Link Here
12
12
13
LICENSE=	PSFL
13
LICENSE=	PSFL
14
14
15
USES=		cpe ncurses pkgconfig readline ssl tar:xz
15
USES=		cpe ncurses pathfix pkgconfig readline ssl tar:xz
16
PATHFIX_MAKEFILEIN=	Makefile.pre.in
16
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
19
Lines 28-34 TEST_TARGET= buildbottest Link Here
28
TEST_ARGS=		TESTOPTS=-j${MAKE_JOBS_NUMBER}
29
TEST_ARGS=		TESTOPTS=-j${MAKE_JOBS_NUMBER}
29
30
30
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
31
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
31
MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
32
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
32
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
33
33
34
PLIST_SUB=		ABI=${ABIFLAGS} \
34
PLIST_SUB=		ABI=${ABIFLAGS} \
(-)lang/python33/Makefile (-2 / +2 lines)
Lines 16-22 LICENSE= PSFL Link Here
16
DEPRECATED=	No longer receives bug fixes, only security updates. Please update to Python 3.5
16
DEPRECATED=	No longer receives bug fixes, only security updates. Please update to Python 3.5
17
EXPIRATION_DATE=	2017-09-01
17
EXPIRATION_DATE=	2017-09-01
18
18
19
USES=		cpe ncurses pkgconfig readline ssl tar:xz
19
USES=		cpe ncurses pathfix pkgconfig readline ssl tar:xz
20
PATHFIX_MAKEFILEIN=	Makefile.pre.in
20
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
21
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
22
23
Lines 28-34 CONFIGURE_ENV+= OPT="" # Null out OPT to respect user CFLAGS and remove o Link Here
28
29
29
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
30
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
30
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
31
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
31
MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
32
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
32
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
33
33
34
TEST_TARGET=		buildbottest
34
TEST_TARGET=		buildbottest
(-)lang/python34/Makefile (-2 / +2 lines)
Lines 13-19 COMMENT= Interpreted object-oriented programming language Link Here
13
13
14
LICENSE=	PSFL
14
LICENSE=	PSFL
15
15
16
USES=		cpe ncurses pkgconfig readline ssl tar:xz
16
USES=		cpe ncurses pathfix pkgconfig readline ssl tar:xz
17
PATHFIX_MAKEFILEIN=	Makefile.pre.in
17
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
18
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
19
20
Lines 30-36 TEST_TARGET= buildbottest Link Here
30
TEST_ARGS=		TESTOPTS=-j${MAKE_JOBS_NUMBER}
31
TEST_ARGS=		TESTOPTS=-j${MAKE_JOBS_NUMBER}
31
32
32
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
33
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
33
MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
34
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
34
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
35
35
36
SUB_FILES=		pkg-message
36
SUB_FILES=		pkg-message
(-)lang/python35/Makefile (-2 / +2 lines)
Lines 14-20 COMMENT= Interpreted object-oriented programming language Link Here
14
14
15
LICENSE=	PSFL
15
LICENSE=	PSFL
16
16
17
USES=		cpe ncurses pkgconfig readline ssl tar:xz
17
USES=		cpe ncurses pathfix pkgconfig readline ssl tar:xz
18
PATHFIX_MAKEFILEIN=	Makefile.pre.in
18
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
20
21
Lines 37-43 TEST_TARGET= buildbottest Link Here
37
TEST_ARGS=		TESTOPTS=-j${MAKE_JOBS_NUMBER}
38
TEST_ARGS=		TESTOPTS=-j${MAKE_JOBS_NUMBER}
38
39
39
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
40
MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
40
MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
41
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
41
MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
42
42
43
SUB_FILES=		pkg-message
43
SUB_FILES=		pkg-message
(-)lang/qore/Makefile (-1 lines)
Lines 42-47 pre-configure: Link Here
42
42
43
post-configure:
43
post-configure:
44
	${REINPLACE_CMD} -e 's|; make|; $${MAKE}|g' ${WRKSRC}/Makefile.in
44
	${REINPLACE_CMD} -e 's|; make|; $${MAKE}|g' ${WRKSRC}/Makefile.in
45
	${REINPLACE_CMD} -e 's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#g' ${WRKSRC}/Makefile.in
46
45
47
.include <bsd.port.post.mk>
46
.include <bsd.port.post.mk>
(-)lang/smalltalk/Makefile (-3 / +1 lines)
Lines 23-29 TK_CONFIGURE_WITH=tcl=${LOCALBASE}/lib/tcl8.4 tk=${LOCALBASE}/lib/tk8.4 Link Here
23
PGSQL_USES=	pgsql
23
PGSQL_USES=	pgsql
24
SDL_USE=	SDL=image,mixer,sdl,sound,ttf
24
SDL_USE=	SDL=image,mixer,sdl,sound,ttf
25
25
26
USES=		execinfo gmake iconv libtool localbase makeinfo pkgconfig \
26
USES=		execinfo gmake iconv libtool localbase makeinfo pathfix pkgconfig \
27
		shebangfix sqlite tar:xz
27
		shebangfix sqlite tar:xz
28
USE_GNOME=	pango
28
USE_GNOME=	pango
29
USE_XORG=	ice xi xmu
29
USE_XORG=	ice xi xmu
Lines 57-64 post-patch: Link Here
57
		${WRKSRC}/libgst/prims.inl
57
		${WRKSRC}/libgst/prims.inl
58
	@${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include <wctype.h> \\/' \
58
	@${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include <wctype.h> \\/' \
59
		${WRKSRC}/snprintfv/configure
59
		${WRKSRC}/snprintfv/configure
60
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
61
		${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
62
60
63
post-build:
61
post-build:
64
	@${SED} -e 's|@bindir@|${PREFIX}/bin|g' \
62
	@${SED} -e 's|@bindir@|${PREFIX}/bin|g' \
(-)mail/dspam/Makefile (-8 / +1 lines)
Lines 76-82 LIGHTTPD_DESC= RUN_DEPEND on Lighttpd instead of Apache Link Here
76
SETUID_DESC=		Run as root:mail with setuid (insecure)
76
SETUID_DESC=		Run as root:mail with setuid (insecure)
77
77
78
MAKE_JOBS_UNSAFE=	yes
78
MAKE_JOBS_UNSAFE=	yes
79
USES=		perl5 libtool shebangfix
79
USES=		perl5 libtool pathfix shebangfix
80
USE_LDCONFIG=	yes
80
USE_LDCONFIG=	yes
81
GNU_CONFIGURE=	yes
81
GNU_CONFIGURE=	yes
82
CPPFLAGS+=	-I${LOCALBASE}/include
82
CPPFLAGS+=	-I${LOCALBASE}/include
Lines 512-524 pre-configure: Link Here
512
.endif
512
.endif
513
513
514
post-install:
514
post-install:
515
########
516
# stupid hack until I figure out where/how to patch
517
	@${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
518
	${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/dspam.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/dspam.pc
519
	${TEST} `ls -1 ${STAGEDIR}${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \
520
		${RM} -R ${STAGEDIR}${PREFIX}/lib/pkgconfig || true
521
522
.if ${PORT_OPTIONS:MEXAMPLES}
515
.if ${PORT_OPTIONS:MEXAMPLES}
523
.if ${PORT_OPTIONS:MMYSQL}
516
.if ${PORT_OPTIONS:MMYSQL}
524
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mysql
517
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mysql
(-)mail/evolution-mapi/Makefile (-3 / +1 lines)
Lines 17-23 RUN_DEPENDS= evolution>=3.0.0:mail/evolution Link Here
17
17
18
PORTSCOUT=	limitw:1,even
18
PORTSCOUT=	limitw:1,even
19
19
20
USES=		gettext gmake gnome libtool pkgconfig tar:xz
20
USES=		gettext gmake gnome libtool pathfix pkgconfig tar:xz
21
USE_GNOME=	intltool
21
USE_GNOME=	intltool
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
Lines 28-35 CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/ Link Here
28
INSTALL_TARGET=	install-strip
28
INSTALL_TARGET=	install-strip
29
29
30
post-patch:
30
post-patch:
31
	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
32
		${WRKSRC}/src/libexchangemapi/Makefile.in
33
	@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
31
	@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
34
		-e 's|$$(prefix)/$$(DATADIRNAME)/|$$(prefix)/share/|g' \
32
		-e 's|$$(prefix)/$$(DATADIRNAME)/|$$(prefix)/share/|g' \
35
		${WRKSRC}/configure
33
		${WRKSRC}/configure
(-)mail/libmapi/Makefile (-3 / +2 lines)
Lines 29-34 WRKSRC= ${WRKDIR}/openchange-openchange-${PORTVERSION}-${CODENAME} Link Here
29
USE_MYSQL=	yes
29
USE_MYSQL=	yes
30
USES=		autoreconf:build bison compiler:c++11-lib gmake pathfix \
30
USES=		autoreconf:build bison compiler:c++11-lib gmake pathfix \
31
		pkgconfig python shebangfix sqlite
31
		pkgconfig python shebangfix sqlite
32
PATHFIX_MAKEFILEIN=	Makefile
32
USE_LDCONFIG=	yes
33
USE_LDCONFIG=	yes
33
GNU_CONFIGURE=	yes
34
GNU_CONFIGURE=	yes
34
CPPFLAGS+=	-I${LOCALBASE}/include
35
CPPFLAGS+=	-I${LOCALBASE}/include
Lines 44-50 SHEBANG_FILES= libmapi/conf/mparse.pl \ Link Here
44
		setup/openchange_neworganization \
45
		setup/openchange_neworganization \
45
		setup/openchange_newuser \
46
		setup/openchange_newuser \
46
		setup/openchange_provision
47
		setup/openchange_provision
47
PATHFIX_MAKEFILEIN=	Makefile.am
48
48
49
OPTIONS_SUB=	yes
49
OPTIONS_SUB=	yes
50
OPTIONS_DEFINE=	BOOST DOXYGEN
50
OPTIONS_DEFINE=	BOOST DOXYGEN
Lines 71-78 PLIST_SUB+= SAMBA=samba42 Link Here
71
#  --enable-openchange-qt4 Compile OpenChange Qt4 wrapper.
71
#  --enable-openchange-qt4 Compile OpenChange Qt4 wrapper.
72
72
73
post-patch:
73
post-patch:
74
	@${REINPLACE_CMD} -e "s/mkdir --parent/mkdir -p/g; \
74
	@${REINPLACE_CMD} -e "s/mkdir --parent/mkdir -p/g" \
75
		s,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,g" \
76
		${WRKSRC}/Makefile
75
		${WRKSRC}/Makefile
77
	@${REINPLACE_CMD} -e 's|<endian.h>|<sys/endian.h>|g' \
76
	@${REINPLACE_CMD} -e 's|<endian.h>|<sys/endian.h>|g' \
78
		${WRKSRC}/configure.ac
77
		${WRKSRC}/configure.ac
(-)math/R/Makefile (-4 / +1 lines)
Lines 35-41 CONFIGURE_ARGS= --disable-java \ Link Here
35
GNU_CONFIGURE=		yes
35
GNU_CONFIGURE=		yes
36
INSTALL_TARGET=		install-strip
36
INSTALL_TARGET=		install-strip
37
ONLY_FOR_ARCHS=		i386 amd64
37
ONLY_FOR_ARCHS=		i386 amd64
38
USES=			fortran iconv libtool localbase objc:compiler perl5 \
38
USES=			fortran iconv libtool localbase objc:compiler pathfix perl5 \
39
			readline
39
			readline
40
USE_PERL5=		build
40
USE_PERL5=		build
41
41
Lines 147-155 USE_LDCONFIG= ${PREFIX}/lib/R/lib Link Here
147
.endif
147
.endif
148
148
149
post-patch:
149
post-patch:
150
	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g'\
151
		${WRKSRC}/src/nmath/standalone/Makefile.in \
152
		${WRKSRC}/src/unix/Makefile.in
153
	@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \
150
	@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \
154
		${WRKSRC}/configure
151
		${WRKSRC}/configure
155
152
(-)math/coinmp/Makefile (-3 / +2 lines)
Lines 18-24 LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept Link Here
18
CONFLICTS=	clp-[0-9]* ogdf-[0-9]*
18
CONFLICTS=	clp-[0-9]* ogdf-[0-9]*
19
19
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USES=	libtool pkgconfig tar:tgz
21
USES=	libtool pathfix pkgconfig tar:tgz
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
CONFIGURE_ARGS+=	PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig
23
CONFIGURE_ARGS+=	PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig
24
CXXFLAGS+=	-ffast-math
24
CXXFLAGS+=	-ffast-math
Lines 40-47 STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver Link Here
40
		libCgl libCbc libCbcSolver libOsiCbc libCoinMP
40
		libCgl libCbc libCbcSolver libOsiCbc libCoinMP
41
41
42
post-patch::
42
post-patch::
43
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
43
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
44
		's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
45
		-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \
44
		-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \
46
		-e 's|addlibs_DATA = examples/Makefile examples/example.c||g' \
45
		-e 's|addlibs_DATA = examples/Makefile examples/example.c||g' \
47
		-e 's|DocInstallDir = $$(datadir)/coin/doc/$$(PACKAGE_NAME)|DocInstallDir = $$(datadir)/doc/CoinMP/$$(PACKAGE_NAME)|' \
46
		-e 's|DocInstallDir = $$(datadir)/coin/doc/$$(PACKAGE_NAME)|DocInstallDir = $$(datadir)/doc/CoinMP/$$(PACKAGE_NAME)|' \
(-)math/cvc3/Makefile (-2 / +2 lines)
Lines 18-31 CONFIGURE_ARGS= --enable-dynamic \ Link Here
18
		--with-extra-libs=${LOCALBASE}/lib
18
		--with-extra-libs=${LOCALBASE}/lib
19
CXXFLAGS+=	-fPIC
19
CXXFLAGS+=	-fPIC
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USES=		bison gmake perl5
21
USES=		bison gmake pathfix perl5
22
PATHFIX_MAKEFILEIN=	Makefile
22
USE_GCC=	any
23
USE_GCC=	any
23
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
24
25
25
post-patch:
26
post-patch:
26
	${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/Makefile.std
27
	${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/Makefile.std
27
	${REINPLACE_CMD} -e 's,.*$$(LDCONFIG).*,,' ${WRKSRC}/src/Makefile
28
	${REINPLACE_CMD} -e 's,.*$$(LDCONFIG).*,,' ${WRKSRC}/src/Makefile
28
	${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' ${WRKSRC}/src/Makefile
29
29
30
post-install:
30
post-install:
31
	${INSTALL_PROGRAM} `readlink ${WRKSRC}/bin/cvc3` ${STAGEDIR}${PREFIX}/bin
31
	${INSTALL_PROGRAM} `readlink ${WRKSRC}/bin/cvc3` ${STAGEDIR}${PREFIX}/bin
(-)math/cvc3/files/patch-src-Makefile (-4 / +4 lines)
Lines 32-43 Link Here
32
 endif
32
 endif
33
-	mkdir -p $(bindir)
33
-	mkdir -p $(bindir)
34
-	$(INSTALL) $(INSTALL_FLAGS) -m 755 $(CVC_EXE) $(bindir)
34
-	$(INSTALL) $(INSTALL_FLAGS) -m 755 $(CVC_EXE) $(bindir)
35
-	mkdir -p $(libdir)/pkgconfig
35
-	mkdir -p $(prefix)/libdata/pkgconfig
36
-	$(INSTALL) $(INSTALL_FLAGS) -m 644 cvc3.pc $(libdir)/pkgconfig
36
-	$(INSTALL) $(INSTALL_FLAGS) -m 644 cvc3.pc $(prefix)/libdata/pkgconfig
37
+	mkdir -p $(DESTDIR)$(bindir)
37
+	mkdir -p $(DESTDIR)$(bindir)
38
+	$(INSTALL) $(INSTALL_FLAGS) -m 755 $(CVC_EXE) $(DESTDIR)$(bindir)
38
+	$(INSTALL) $(INSTALL_FLAGS) -m 755 $(CVC_EXE) $(DESTDIR)$(bindir)
39
+	mkdir -p $(DESTDIR)$(libdir)/pkgconfig
39
+	mkdir -p $(DESTDIR)$(prefix)/libdata/pkgconfig
40
+	$(INSTALL) $(INSTALL_FLAGS) -m 644 cvc3.pc $(DESTDIR)$(libdir)/pkgconfig
40
+	$(INSTALL) $(INSTALL_FLAGS) -m 644 cvc3.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
41
 
41
 
42
 ifndef FILELIST
42
 ifndef FILELIST
43
 FILELIST = /dev/null
43
 FILELIST = /dev/null
(-)math/fann/Makefile (-4 / +1 lines)
Lines 12-21 COMMENT= Free open source neural network library Link Here
12
12
13
WRKSRC=		${WRKDIR}/FANN-2.2.0-Source
13
WRKSRC=		${WRKDIR}/FANN-2.2.0-Source
14
14
15
USES=		cmake zip
15
USES=		cmake pathfix zip
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
18
post-patch:
19
	${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|g' ${WRKSRC}/CMakeLists.txt
20
21
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)math/hfst/Makefile (-1 / +1 lines)
Lines 9-15 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/source Link Here
9
MAINTAINER=	demon@FreeBSD.org
9
MAINTAINER=	demon@FreeBSD.org
10
COMMENT=	A toolkit for for processing natural language morphologies
10
COMMENT=	A toolkit for for processing natural language morphologies
11
11
12
USES=		libtool pkgconfig python:2 readline shebangfix
12
USES=		libtool pathfix pkgconfig python:2 readline shebangfix
13
USE_GNOME=	glib20 libxml2
13
USE_GNOME=	glib20 libxml2
14
USE_GCC=	yes
14
USE_GCC=	yes
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
(-)math/hfst/files/patch-libhfst-Makefile.in (-11 lines)
Removed Link Here
1
--- libhfst/Makefile.in.orig	2014-07-05 18:38:21.000000000 +0400
2
+++ libhfst/Makefile.in	2014-07-05 18:39:40.000000000 +0400
3
@@ -287,7 +287,7 @@
4
 top_builddir = @top_builddir@
5
 top_srcdir = @top_srcdir@
6
 SUBDIRS = src
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = hfst.pc
10
 all: all-recursive
11
 
(-)math/igraph/Makefile (-5 / +1 lines)
Lines 14-20 LICENSE= GPLv2 Link Here
14
LIB_DEPENDS=	libgmp.so:math/gmp
14
LIB_DEPENDS=	libgmp.so:math/gmp
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USES=		gmake libtool
17
USES=		gmake libtool pathfix
18
USE_GNOME=	libxml2
18
USE_GNOME=	libxml2
19
CONFIGURE_ARGS+=	--enable-gmp
19
CONFIGURE_ARGS+=	--enable-gmp
20
CFLAGS+=	-I${LOCALBASE}/include
20
CFLAGS+=	-I${LOCALBASE}/include
Lines 22-31 LDFLAGS+= -L${LOCALBASE}/lib Link Here
22
CONFIGURE_ARGS+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
22
CONFIGURE_ARGS+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
25
post-patch:
26
	@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
27
		${WRKSRC}/Makefile.in
28
29
.include <bsd.port.pre.mk>
25
.include <bsd.port.pre.mk>
30
26
31
.if ${ARCH} == "sparc64"
27
.if ${ARCH} == "sparc64"
(-)math/ipopt/Makefile (-7 / +2 lines)
Lines 16-28 COMMENT= Software package for large-scale nonlinear optimization Link Here
16
16
17
LICENSE=	EPL
17
LICENSE=	EPL
18
18
19
USES=		blaslapack fortran libtool pkgconfig tar:tgz
19
USES=		blaslapack fortran libtool pathfix pkgconfig tar:tgz
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
TEST_TARGET=	test
22
TEST_TARGET=	test
23
INSTALL_TARGET=	install-strip
23
INSTALL_TARGET=	install-strip
24
24
25
CONFIGURE_ENV+=	PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig \
25
CONFIGURE_ENV+=	PKG_CONFIG_PATH=${PREFIX}/libdata/pkgconfig \
26
		CXX="${CXX} -B${LOCALBASE}/bin"
26
		CXX="${CXX} -B${LOCALBASE}/bin"
27
CONFIGURE_ARGS=	--with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib"	\
27
CONFIGURE_ARGS=	--with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib"	\
28
		--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib"
28
		--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib"
Lines 34-44 PORTDOCS= * Link Here
34
34
35
DEBUG_CXXFLAGS=	-fomit-frame-pointer
35
DEBUG_CXXFLAGS=	-fomit-frame-pointer
36
36
37
pre-build:
38
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
39
		's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
40
		-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g'
41
42
post-extract:
37
post-extract:
43
	@(${ECHO} "Extracting Metis and Mumps ThirdParty libraries ..." )
38
	@(${ECHO} "Extracting Metis and Mumps ThirdParty libraries ..." )
44
	@(cd ${WRKSRC}/ThirdParty/Metis && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/metis-4.0.3.tar.gz ${EXTRACT_AFTER_ARGS});
39
	@(cd ${WRKSRC}/ThirdParty/Metis && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/metis-4.0.3.tar.gz ${EXTRACT_AFTER_ARGS});
(-)math/jags/Makefile (-3 / +1 lines)
Lines 19-25 COMMENT= Just Another Gibbs Sampler Link Here
19
LICENSE=	GPLv2
19
LICENSE=	GPLv2
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USES=		bison compiler:features fortran gmake libtool localbase
22
USES=		bison compiler:features fortran gmake libtool localbase pathfix
23
USE_GCC=	yes
23
USE_GCC=	yes
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
25
Lines 58-65 PORTEXAMPLES= * Link Here
58
.endif
58
.endif
59
59
60
post-patch:
60
post-patch:
61
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
62
		${WRKSRC}/etc/Makefile.in
63
	@${REINPLACE_CMD} \
61
	@${REINPLACE_CMD} \
64
		-e '/@WINDOWS_FALSE@bin_SCRIPTS =/s/jags/mcmc-&/' \
62
		-e '/@WINDOWS_FALSE@bin_SCRIPTS =/s/jags/mcmc-&/' \
65
		-e '/CLEANFILES =/s/jags/mcmc-&/' \
63
		-e '/CLEANFILES =/s/jags/mcmc-&/' \
(-)math/nlopt/Makefile (-2 lines)
Lines 28-35 USES= autoreconf compiler:features libtool pathfix \ Link Here
28
		pkgconfig python:2
28
		pkgconfig python:2
29
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
30
30
31
PATHFIX_MAKEFILEIN=	Makefile.am
32
33
INSTALL_TARGET=	install-strip
31
INSTALL_TARGET=	install-strip
34
32
35
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)math/ufc/Makefile (-2 lines)
Lines 22-29 CMAKE_ARGS+= -DUFC_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig Link Here
22
MMVERSION=	2.2
22
MMVERSION=	2.2
23
23
24
post-patch:
24
post-patch:
25
	${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
26
		${WRKSRC}/CMakeLists.txt
27
	${REINPLACE_CMD} -i '' -e 's|os.path.join(os.path.sep, "usr")|os.path.normpath("${PREFIX}")|' ${WRKSRC}/src/utils/python/ufc_utils/build.py
25
	${REINPLACE_CMD} -i '' -e 's|os.path.join(os.path.sep, "usr")|os.path.normpath("${PREFIX}")|' ${WRKSRC}/src/utils/python/ufc_utils/build.py
28
26
29
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)misc/talkfilters/Makefile (-5 / +1 lines)
Lines 15-21 LICENSE= GPLv2 Link Here
15
15
16
CONFLICTS=	jive* chef* filters-*
16
CONFLICTS=	jive* chef* filters-*
17
17
18
USES=		libtool
18
USES=		libtool pathfix
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
21
Lines 29-38 post-extract: Link Here
29
29
30
post-patch:
30
post-patch:
31
	@${RM} -f ${WRKSRC}/*.info*
31
	@${RM} -f ${WRKSRC}/*.info*
32
	@${REINPLACE_CMD} -e \
33
		's|^\(pkgconfigdir\ =\ \).*|\1$$(prefix)/libdata/pkgconfig|' \
34
			${WRKSRC}/Makefile.am \
35
			${WRKSRC}/Makefile.in
36
32
37
post-install:
33
post-install:
38
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtalkfilters.so*
34
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtalkfilters.so*
(-)multimedia/gstreamer-qt4/Makefile (-5 / +1 lines)
Lines 17-23 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
17
17
18
LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
18
LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
19
19
20
USES=		bison cmake gmake kde:4 pkgconfig tar:bzip2
20
USES=		bison cmake gmake kde:4 pathfix pkgconfig tar:bzip2
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_GSTREAMER=	yes
22
USE_GSTREAMER=	yes
23
USE_GNOME=	glib20
23
USE_GNOME=	glib20
Lines 32-39 GST_VERSION= ${PORTVERSION:C/..$//} Link Here
32
CMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
32
CMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
33
LDFLAGS+=	-L${LOCALBASE}/lib
33
LDFLAGS+=	-L${LOCALBASE}/lib
34
34
35
post-extract:
36
	@${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
37
		${WRKSRC}/CMakeLists.txt
38
39
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)multimedia/gstreamer1-vaapi/Makefile (-5 lines)
Lines 26-34 USE_XORG= x11 xrandr xrender xproto:build Link Here
26
# drm backend needs libudev so disable it for now.
26
# drm backend needs libudev so disable it for now.
27
CONFIGURE_ARGS+=--disable-drm
27
CONFIGURE_ARGS+=--disable-drm
28
28
29
# manual since pathfix doesn't work.
30
post-patch:
31
	@${REINPLACE_CMD} -e 's|[{]libdir[}]/pkgconfig|{prefix}/libdata/pkgconfig|g' \
32
		${WRKSRC}/configure
33
34
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)multimedia/kvazaar/Makefile (-1 lines)
Lines 20-26 GH_SUBDIR= greatest:greatest Link Here
20
CONFLICTS_INSTALL?=	${PORTNAME}-devel
20
CONFLICTS_INSTALL?=	${PORTNAME}-devel
21
21
22
USES=		autoreconf compiler:c11 libtool pathfix
22
USES=		autoreconf compiler:c11 libtool pathfix
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
TEST_TARGET=	check
24
TEST_TARGET=	check
26
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
(-)multimedia/libass/Makefile (-1 lines)
Lines 19-25 USE_GITHUB= yes Link Here
19
USES=		autoreconf iconv libtool pathfix pkgconfig
19
USES=		autoreconf iconv libtool pathfix pkgconfig
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
PATHFIX_MAKEFILEIN=Makefile.am
23
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
24
23
25
OPTIONS_DEFINE=	HARFBUZZ
24
OPTIONS_DEFINE=	HARFBUZZ
(-)multimedia/libde265/Makefile (-2 lines)
Lines 16-21 USES= autoreconf compiler:c++11-lib libtool pathfix pkgconfig Link Here
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS=	--disable-sherlock265 --disable-dec265
17
CONFIGURE_ARGS=	--disable-sherlock265 --disable-dec265
18
18
19
PATHFIX_MAKEFILEIN=	Makefile.am
20
21
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)multimedia/libkate/Makefile (-5 / +1 lines)
Lines 17-23 LIB_DEPENDS= libogg.so:audio/libogg \ Link Here
17
		libpng.so:graphics/png
17
		libpng.so:graphics/png
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USES=		pkgconfig gmake libtool
20
USES=		pathfix pkgconfig gmake libtool
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
22
23
CFLAGS+=	"-I${LOCALBASE}/include"
23
CFLAGS+=	"-I${LOCALBASE}/include"
Lines 51-60 PLIST_SUB+= KATEDJ="@comment " Link Here
51
.endif
51
.endif
52
52
53
post-patch:
53
post-patch:
54
	@${REINPLACE_CMD} -E -e \
55
		"s|^(katepcdir =).*|\1 ${PREFIX}/libdata/pkgconfig|" \
56
		${WRKSRC}/Makefile.in
57
58
.if ! ${PORT_OPTIONS:MKATEDJ}
54
.if ! ${PORT_OPTIONS:MKATEDJ}
59
	@${REINPLACE_CMD} -e \
55
	@${REINPLACE_CMD} -e \
60
		"s|  HAVE_PYTHON_TRUE=$$|  HAVE_PYTHON_TRUE='#'|; \
56
		"s|  HAVE_PYTHON_TRUE=$$|  HAVE_PYTHON_TRUE='#'|; \
(-)multimedia/libtheora/Makefile (-1 / +1 lines)
Lines 19-25 CONFIGURE_ARGS= --disable-sdltest \ Link Here
19
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
20
LIBS+=		-L${LOCALBASE}/lib
20
LIBS+=		-L${LOCALBASE}/lib
21
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
22
USES=		libtool tar:bzip2
22
USES=		libtool pathfix tar:bzip2
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
25
.include <bsd.port.options.mk>
25
.include <bsd.port.options.mk>
(-)multimedia/libtheora/files/patch-Makefile.in (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.in.orig	2009-10-01 18:04:07.000000000 +0000
1
--- Makefile.in.orig	2009-10-01 18:04:07.000000000 +0000
2
+++ Makefile.in	2009-12-21 01:17:02.000000000 +0000
2
+++ Makefile.in	2009-12-21 01:17:02.000000000 +0000
3
@@ -177,7 +177,7 @@
4
 	theora-uninstalled.pc.in
5
 
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = theora.pc theoradec.pc theoraenc.pc
10
 subdir = .
11
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
12
@@ -200,7 +200,7 @@
3
@@ -200,7 +200,7 @@
13
 	missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \
4
 	missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \
14
 	theoradec-uninstalled.pc.in theoradec.pc.in \
5
 	theoradec-uninstalled.pc.in theoradec.pc.in \
(-)multimedia/mlt/Makefile (-2 / +1 lines)
Lines 23-28 USE_GNOME= libxml2 Link Here
23
USE_SDL=	image
23
USE_SDL=	image
24
USE_XORG=	x11
24
USE_XORG=	x11
25
USES=		alias gmake iconv pathfix pkgconfig
25
USES=		alias gmake iconv pathfix pkgconfig
26
PATHFIX_MAKEFILEIN=	Makefile
26
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--enable-gpl --enable-gpl3 --target-os=FreeBSD
28
CONFIGURE_ARGS=	--enable-gpl --enable-gpl3 --target-os=FreeBSD
28
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
Lines 120-127 pre-configure: Link Here
120
		${WRKSRC}/src/framework/Makefile \
121
		${WRKSRC}/src/framework/Makefile \
121
		${WRKSRC}/src/melt/Makefile \
122
		${WRKSRC}/src/melt/Makefile \
122
		${WRKSRC}/src/modules/*/Makefile
123
		${WRKSRC}/src/modules/*/Makefile
123
	@${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
124
		${WRKSRC}/Makefile
125
124
126
post-install:
125
post-install:
127
	${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1
126
	${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1
(-)multimedia/vapoursynth/Makefile (-1 lines)
Lines 12-18 LICENSE= LGPL21+ Link Here
12
USE_GITHUB=	yes
12
USE_GITHUB=	yes
13
13
14
USES=		autoreconf gmake libtool localbase pathfix pkgconfig
14
USES=		autoreconf gmake libtool localbase pathfix pkgconfig
15
PATHFIX_MAKEFILEIN=	Makefile.am
16
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
17
CPPFLAGS+=	-D_GLIBCXX_USE_C99 # XXX ports/193528
16
CPPFLAGS+=	-D_GLIBCXX_USE_C99 # XXX ports/193528
18
INSTALL_TARGET=	install-strip
17
INSTALL_TARGET=	install-strip
(-)net-im/libaccounts-glib/Makefile (-1 lines)
Lines 23-29 INSTALL_TARGET= install-strip Link Here
23
23
24
USES=		autoreconf gmake libtool pathfix pkgconfig python sqlite:3
24
USES=		autoreconf gmake libtool pathfix pkgconfig python sqlite:3
25
USE_GNOME=	pygobject3 introspection libxml2
25
USE_GNOME=	pygobject3 introspection libxml2
26
PATHFIX_MAKEFILEIN=Makefile.am
27
26
28
# GitLab variables.
27
# GitLab variables.
29
GL_ACCOUNT=	accounts-sso
28
GL_ACCOUNT=	accounts-sso
(-)net-im/telepathy-farstream/Makefile (-4 lines)
Lines 23-30 CPPFLAGS+= -I${LOCALBASE}/include Link Here
23
LDFLAGS+=	-L${LOCALBASE}/lib
23
LDFLAGS+=	-L${LOCALBASE}/lib
24
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
25
25
26
post-patch:
27
	@${REINPLACE_CMD} -e 's|\(^pkgconfigdir =\).*|\1 ${PREFIX}/libdata/pkgconfig|' \
28
		${WRKSRC}/telepathy-farstream/Makefile.in
29
30
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)net-im/tox/Makefile (-1 lines)
Lines 23-29 GNU_CONFIGURE= yes Link Here
23
CONFIGURE_ARGS=	--enable-tests
23
CONFIGURE_ARGS=	--enable-tests
24
USES=		autoreconf compiler:c11 libtool pathfix pkgconfig
24
USES=		autoreconf compiler:c11 libtool pathfix pkgconfig
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
PATHFIX_MAKEFILEIN=	Makefile.am
27
INSTALL_TARGET=		install-strip
26
INSTALL_TARGET=		install-strip
28
27
29
OPTIONS_DEFINE=		DAEMON
28
OPTIONS_DEFINE=		DAEMON
(-)net-mgmt/ccnet/Makefile (-1 lines)
Lines 29-35 USES= autoreconf gettext libtool localbase pathfix pkgconfig \ Link Here
29
		python:-2.7 shebangfix ssl
29
		python:-2.7 shebangfix ssl
30
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
31
SHEBANG_FILES=	tools/*.py
31
SHEBANG_FILES=	tools/*.py
32
PATHFIX_MAKEFILEIN=	Makefile.am
33
32
34
CONFIGURE_ENV=	SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
33
CONFIGURE_ENV=	SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
35
GNU_CONFIGURE=	yes
34
GNU_CONFIGURE=	yes
(-)net-mgmt/riemann-c-client/Makefile (-1 lines)
Lines 23-29 USES= autoreconf gmake libtool pathfix pkgconfig Link Here
23
23
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
PATHFIX_MAKEFILEIN=	Makefile.am
27
INSTALL_TARGET=	install-strip
26
INSTALL_TARGET=	install-strip
28
TEST_TARGET=	check
27
TEST_TARGET=	check
29
28
(-)net-mgmt/seafile/Makefile (-2 lines)
Lines 40-47 GNU_CONFIGURE= yes Link Here
40
USE_LDCONFIG=	yes
40
USE_LDCONFIG=	yes
41
CONFIGURE_ENV=	SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
41
CONFIGURE_ENV=	SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
42
42
43
PATHFIX_MAKEFILEIN=	Makefile.am
44
45
CONFIGURE_ARGS=	--enable-server
43
CONFIGURE_ARGS=	--enable-server
46
INSTALL_TARGET=	install-strip
44
INSTALL_TARGET=	install-strip
47
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/evhtp
45
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/evhtp
(-)net/GeoIP/Makefile (-1 lines)
Lines 16-22 GH_ACCOUNT= maxmind Link Here
16
GH_PROJECT=	geoip-api-c
16
GH_PROJECT=	geoip-api-c
17
17
18
USES=		autoreconf libtool pathfix
18
USES=		autoreconf libtool pathfix
19
PATHFIX_MAKEFILEIN=	Makefile.am
20
19
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
(-)net/geoipupdate/Makefile (-1 lines)
Lines 18-24 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	maxmind
18
GH_ACCOUNT=	maxmind
19
19
20
USES=		libtool localbase pathfix autoreconf
20
USES=		libtool localbase pathfix autoreconf
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
22
24
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)net/kea/Makefile (-1 / +1 lines)
Lines 14-20 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
14
LIB_DEPENDS=	liblog4cplus.so:devel/log4cplus \
14
LIB_DEPENDS=	liblog4cplus.so:devel/log4cplus \
15
		libboost_system.so:devel/boost-libs
15
		libboost_system.so:devel/boost-libs
16
16
17
USES=		libtool python:3.3+ autoreconf
17
USES=		autoreconf libtool pathfix python:3.3+
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
USE_OPENSSL=	yes
19
USE_OPENSSL=	yes
20
USE_RC_SUBR=	${PORTNAME}
20
USE_RC_SUBR=	${PORTNAME}
(-)net/kea/files/patch-Makefile.am (-9 lines)
Lines 9-20 Link Here
9
 
9
 
10
 EXTRA_DIST  = tools/path_replacer.sh
10
 EXTRA_DIST  = tools/path_replacer.sh
11
 EXTRA_DIST += tools/mk_cfgrpt.sh
11
 EXTRA_DIST += tools/mk_cfgrpt.sh
12
@@ -114,7 +114,7 @@ EXTRA_DIST += tools/mk_cfgrpt.sh
13
 #### include external sources in the distributed tarball:
14
 EXTRA_DIST += ext/coroutine/coroutine.h
15
 
16
-pkgconfigdir = $(libdir)/pkgconfig
17
+pkgconfigdir = $(prefix)/libdata/pkgconfig
18
 pkgconfig_DATA = dns++.pc
19
 
20
 CLEANFILES = $(abs_top_builddir)/logger_lockfile
(-)net/libilbc/Makefile (-1 / +1 lines)
Lines 21-27 CONFLICTS= ilbc-r[0-9]* Link Here
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	TimothyGu
22
GH_ACCOUNT=	TimothyGu
23
23
24
USES=		cmake
24
USES=		cmake pathfix
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
26
27
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)net/libilbc/files/patch-CMakeLists.txt (-7 / +4 lines)
Lines 1-4 Link Here
1
--- CMakeLists.txt.orig	2014-12-14 19:34:22 UTC
1
--- CMakeLists.txt.orig	2016-10-04 12:45:35 UTC
2
+++ CMakeLists.txt
2
+++ CMakeLists.txt
3
@@ -50,7 +50,6 @@ else()
3
@@ -50,7 +50,6 @@ else()
4
 endif()
4
 endif()
Lines 20-26 Link Here
20
 endif()
20
 endif()
21
 
21
 
22
 ###################################################################################################
22
 ###################################################################################################
23
@@ -186,18 +186,15 @@ endif()
23
@@ -186,12 +186,7 @@ endif()
24
 set(prefix "${CMAKE_INSTALL_PREFIX}")
24
 set(prefix "${CMAKE_INSTALL_PREFIX}")
25
 set(exec_prefix "${prefix}")
25
 set(exec_prefix "${prefix}")
26
 set(includedir "${prefix}/include")
26
 set(includedir "${prefix}/include")
Lines 33-43 Link Here
33
+set(libdir "${exec_prefix}/lib")
33
+set(libdir "${exec_prefix}/lib")
34
 
34
 
35
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libilbc.pc
35
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libilbc.pc
36
-        DESTINATION ${libdir}/pkgconfig)
36
         DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
37
+        DESTINATION ${prefix}/libdata/pkgconfig)
37
@@ -201,3 +196,5 @@ install(TARGETS ilbc
38
 install(FILES ilbc/interface/ilbc.h
39
         DESTINATION ${includedir})
40
 install(TARGETS ilbc
41
         ARCHIVE DESTINATION ${libdir}
38
         ARCHIVE DESTINATION ${libdir}
42
         LIBRARY DESTINATION ${libdir}
39
         LIBRARY DESTINATION ${libdir}
43
         RUNTIME DESTINATION bin)
40
         RUNTIME DESTINATION bin)
(-)net/librdkafka/Makefile (-1 / +1 lines)
Lines 23-29 GH_ACCOUNT= edenhill Link Here
23
USES=		gmake perl5 python shebangfix ssl
23
USES=		gmake perl5 python shebangfix ssl
24
SHEBANG_FILES=	lds-gen.py
24
SHEBANG_FILES=	lds-gen.py
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
MAKE_ENV=	pkgconfigdir=${PREFIX}/libdata/pkgconfig
26
MAKE_ARGS=	pkgconfigdir=${PREFIX}/libdata/pkgconfig
27
27
28
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
29
29
(-)net/librdkafka/files/patch-mklove_Makefile.base (-11 lines)
Removed Link Here
1
--- mklove/Makefile.base.orig	2016-06-16 02:56:41 UTC
2
+++ mklove/Makefile.base
3
@@ -54,7 +54,7 @@ docdir?=	$(datarootdir)/doc/$(PKGNAME)
4
 infodir?=	$(datarootdir)/info
5
 libdir?=	$(prefix)/lib
6
 localedir?=	$(datarootdir)/locale
7
-pkgconfigdir?=	$(libdir)/pkgconfig
8
+pkgconfigdir?=	$(prefix)/libdata/pkgconfig
9
 mandir?=	$(datarootdir)/man
10
 man1dir?=	$(mandir)/man1
11
 man2dir?=	$(mandir)/man2
(-)net/libvncserver/Makefile (-1 lines)
Lines 18-24 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	LibVNC
18
GH_ACCOUNT=	LibVNC
19
19
20
USES=		autoreconf jpeg libtool pathfix pkgconfig
20
USES=		autoreconf jpeg libtool pathfix pkgconfig
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
CPPFLAGS+=	-I${LOCALBASE}/include
23
CPPFLAGS+=	-I${LOCALBASE}/include
(-)net/mobile-broadband-provider-info/Makefile (-1 lines)
Lines 12-18 LICENSE= PD Link Here
12
12
13
USES=		autoreconf pathfix tar:xz
13
USES=		autoreconf pathfix tar:xz
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
PATHFIX_MAKEFILEIN=	Makefile.am
16
15
17
PLIST_FILES=	${DATADIR}/serviceproviders.2.dtd \
16
PLIST_FILES=	${DATADIR}/serviceproviders.2.dtd \
18
		${DATADIR}/serviceproviders.xml \
17
		${DATADIR}/serviceproviders.xml \
(-)net/openbsc/Makefile (-3 / +1 lines)
Lines 20-26 LIB_DEPENDS= libdbi.so:databases/libdbi \ Link Here
20
20
21
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
21
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
22
22
23
USES=		autoreconf compiler:c11 gmake pkgconfig
23
USES=		autoreconf compiler:c11 gmake pathfix pkgconfig
24
USE_OPENSSL=	yes
24
USE_OPENSSL=	yes
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
AUTOMAKE_ARGS=	--gnu --add-missing --copy
26
AUTOMAKE_ARGS=	--gnu --add-missing --copy
Lines 44-51 NAT_RUN_DEPENDS= ${LOCALBASE}/lib/libsccp.a:devel/libosmo-sccp Link Here
44
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
44
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
45
45
46
post-patch:
46
post-patch:
47
	${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \
48
		${WRKSRC}/Makefile.am
49
	${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
47
	${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
50
48
51
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)net/openggsn/Makefile (-3 / +1 lines)
Lines 15-27 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
LIB_DEPENDS=    libosmocore.so:devel/libosmocore
15
LIB_DEPENDS=    libosmocore.so:devel/libosmocore
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USES=		autoreconf gmake libtool pkgconfig
18
USES=		autoreconf gmake libtool pathfix pkgconfig
19
19
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
21
22
post-patch:
22
post-patch:
23
	${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \
24
		${WRKSRC}/Makefile.am
25
	${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
23
	${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
26
24
27
post-stage:
25
post-stage:
(-)net/openpgm/Makefile (-1 lines)
Lines 18-24 GH_ACCOUNT= steve-o Link Here
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USES=		autoreconf pathfix perl5 libtool python:build
20
USES=		autoreconf pathfix perl5 libtool python:build
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
23
WRKSRC_SUBDIR=	openpgm/pgm
22
WRKSRC_SUBDIR=	openpgm/pgm
24
INSTALL_TARGET=	install-strip
23
INSTALL_TARGET=	install-strip
(-)net/pacemaker/Makefile (-2 lines)
Lines 43-50 CONFIGURE_ARGS= --disable-fatal-warnings \ Link Here
43
		--without-heartbeat
43
		--without-heartbeat
44
INSTALL_TARGET=	install-strip
44
INSTALL_TARGET=	install-strip
45
45
46
PATHFIX_MAKEFILEIN=	Makefile.am
47
48
SHEBANG_LANG=	sh
46
SHEBANG_LANG=	sh
49
sh_OLD_CMD=	${SH}
47
sh_OLD_CMD=	${SH}
50
sh_CMD=		${LOCALBASE}/bin/bash
48
sh_CMD=		${LOCALBASE}/bin/bash
(-)net/rabbitmq-c-devel/Makefile (-6 / +1 lines)
Lines 17-23 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:devel/py-simplejson Link Here
17
17
18
CONFLICTS=	rabbitmq-c-[0-9]*
18
CONFLICTS=	rabbitmq-c-[0-9]*
19
19
20
USES=		cmake python tar:bzip2
20
USES=		cmake pathfix python tar:bzip2
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
GH_ACCOUNT=	alanxz
23
GH_ACCOUNT=	alanxz
Lines 29-37 POPT_LIB_DEPENDS= libpopt.so:devel/popt Link Here
29
POPT_CFLAGS=	-I${LOCALBASE}/include
29
POPT_CFLAGS=	-I${LOCALBASE}/include
30
POPT_LDFLAGS=	-L${LOCALBASE}/lib
30
POPT_LDFLAGS=	-L${LOCALBASE}/lib
31
31
32
post-stage:
33
	${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/librabbitmq.pc \
34
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/librabbitmq.pc
35
	${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
36
37
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)net/shadowsocks-libev/Makefile (-3 / +1 lines)
Lines 16-22 USE_GITHUB= yes Link Here
16
GH_ACCOUNT=	madeye
16
GH_ACCOUNT=	madeye
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USES=		gmake libtool:keepla ssl
19
USES=		gmake libtool:keepla pathfix ssl
20
CPPFLAGS+=	-I${OPENSSLINC}
20
CPPFLAGS+=	-I${OPENSSLINC}
21
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
21
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
22
22
Lines 26-33 CFLAGS+= -fstack-protector Link Here
26
USE_RC_SUBR=	shadowsocks_libev
26
USE_RC_SUBR=	shadowsocks_libev
27
27
28
post-patch:
28
post-patch:
29
	${REINPLACE_CMD} -e 's|^pkgconfiglibdir.*|pkgconfiglibdir = ${PREFIX}/libdata/pkgconfig|g' \
30
		${WRKSRC}/Makefile.in
31
	${REINPLACE_CMD} -e 's|^#ifdef TCP_FASTOPEN|#if defined(TCP_FASTOPEN) \&\& defined(__linux)|' \
29
	${REINPLACE_CMD} -e 's|^#ifdef TCP_FASTOPEN|#if defined(TCP_FASTOPEN) \&\& defined(__linux)|' \
32
		${WRKSRC}/src/local.c ${WRKSRC}/src/server.c
30
		${WRKSRC}/src/local.c ${WRKSRC}/src/server.c
33
31
(-)polish/gnugadu2/Makefile (-2 / +2 lines)
Lines 16-22 LIB_DEPENDS= libgadu.so:polish/libgadu \ Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
INSTALLS_ICONS=	yes
18
INSTALLS_ICONS=	yes
19
USES=		gettext gmake perl5 pkgconfig tar:bzip2 libtool
19
USES=		gettext gmake pathfix perl5 pkgconfig tar:bzip2 libtool
20
USE_GNOME=	gtk20
20
USE_GNOME=	gtk20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_XORG=	x11 xaw ice xscrnsaver
22
USE_XORG=	x11 xaw ice xscrnsaver
Lines 80-86 XOSD_CONFIGURE_WITH= xosd Link Here
80
80
81
post-patch:
81
post-patch:
82
	@${REINPLACE_CMD} -e 's,=.*},=${PREFIX},' ${WRKSRC}/src/plugins/dbus/org.freedesktop.im.GG.service
82
	@${REINPLACE_CMD} -e 's,=.*},=${PREFIX},' ${WRKSRC}/src/plugins/dbus/org.freedesktop.im.GG.service
83
	@${REINPLACE_CMD} -e 's, -ldl,, ; s,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' ${WRKSRC}/lib/Makefile.in
83
	@${REINPLACE_CMD} -e 's, -ldl,,' ${WRKSRC}/lib/Makefile.in
84
	@${REINPLACE_CMD} -e 's,(datadir)/pixmaps,(datadir)/icons/hicolor/48x48/apps,' ${WRKSRC}/pixmaps/Makefile.in
84
	@${REINPLACE_CMD} -e 's,(datadir)/pixmaps,(datadir)/icons/hicolor/48x48/apps,' ${WRKSRC}/pixmaps/Makefile.in
85
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/plugins/GUI/gtkimhtml.c
85
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/plugins/GUI/gtkimhtml.c
86
86
(-)polish/libgadu/Makefile (-1 lines)
Lines 20-26 USE_GITHUB= yes Link Here
20
GH_ACCOUNT=	wojtekka
20
GH_ACCOUNT=	wojtekka
21
21
22
USES=		autoreconf gmake libtool localbase pathfix pkgconfig
22
USES=		autoreconf gmake libtool localbase pathfix pkgconfig
23
PATHFIX_MAKEFILEIN=	Makefile.am
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
CONFIGURE_ARGS=	--enable-shared --disable-static --with-pthread \
24
CONFIGURE_ARGS=	--enable-shared --disable-static --with-pthread \
26
		--disable-tests --without-gnutls
25
		--disable-tests --without-gnutls
(-)print/libijs/Makefile (-1 / +1 lines)
Lines 13-19 COMMENT= C library that supports plugin printer driver for Ghostscript Link Here
13
13
14
LICENSE=	MIT
14
LICENSE=	MIT
15
15
16
USES=		gmake libtool pkgconfig tar:bzip2
16
USES=		gmake libtool pathfix pkgconfig tar:bzip2
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
(-)print/libijs/files/patch-Makefile.in (-9 lines)
Lines 1-14 Link Here
1
--- Makefile.in.orig	Wed Feb 11 20:51:54 2004
1
--- Makefile.in.orig	Wed Feb 11 20:51:54 2004
2
+++ Makefile.in	Thu Mar 11 13:37:51 2004
2
+++ Makefile.in	Thu Mar 11 13:37:51 2004
3
@@ -117,7 +117,7 @@
4
 
5
 MAINT_CHARSET = latin1
6
 m4datadir = $(datadir)/aclocal
7
-pkgconfigdatadir = $(prefix)/lib/pkgconfig
8
+pkgconfigdatadir = $(prefix)/libdata/pkgconfig
9
 
10
 lib_LTLIBRARIES = libijs.la
11
 
12
@@ -143,12 +143,12 @@
3
@@ -143,12 +143,12 @@
13
 @SYSDEPS_WINDOWS_TRUE@libijs_la_LIBADD = ijs_exec_win.lo $(IJS_DEPLIBS)
4
 @SYSDEPS_WINDOWS_TRUE@libijs_la_LIBADD = ijs_exec_win.lo $(IJS_DEPLIBS)
14
 @SYSDEPS_WINDOWS_FALSE@libijs_la_LIBADD = ijs_exec_unix.lo $(IJS_DEPLIBS)
5
 @SYSDEPS_WINDOWS_FALSE@libijs_la_LIBADD = ijs_exec_unix.lo $(IJS_DEPLIBS)
(-)print/panda/Makefile (-1 lines)
Lines 25-31 LIBS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib Link Here
25
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
26
USES=		autoreconf bdb dos2unix gmake jpeg libtool pathfix pkgconfig tar:bzip2
26
USES=		autoreconf bdb dos2unix gmake jpeg libtool pathfix pkgconfig tar:bzip2
27
DOS2UNIX_GLOB=	*.c
27
DOS2UNIX_GLOB=	*.c
28
PATHFIX_MAKEFILEIN=	Makefile.am
29
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
30
29
31
OPTIONS_DEFINE=	DOCS EXAMPLES
30
OPTIONS_DEFINE=	DOCS EXAMPLES
(-)print/tex-ptexenc/Makefile (-1 / +1 lines)
Lines 15-21 COMMENT= Library for Japanese pTeX and its tools Link Here
15
LICENSE=	BSD3CLAUSE
15
LICENSE=	BSD3CLAUSE
16
LICENSE_FILE=	${WRKSRC}/COPYRIGHT
16
LICENSE_FILE=	${WRKSRC}/COPYRIGHT
17
17
18
USES=		iconv libtool pkgconfig tar:xz
18
USES=		iconv libtool pathfix pkgconfig tar:xz
19
USE_TEX=	kpathsea
19
USE_TEX=	kpathsea
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
WRKSRC=		${WRKDIR}/${DISTNAME}/texk/ptexenc
21
WRKSRC=		${WRKDIR}/${DISTNAME}/texk/ptexenc
(-)print/tex-ptexenc/files/patch-Makefile.in (-6 / +3 lines)
Lines 1-6 Link Here
1
--- Makefile.in.orig	2015-03-12 14:42:02 UTC
1
--- Makefile.in.orig	2016-10-04 13:42:08 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -396,9 +396,10 @@ libptexenc_la_SOURCES = \
3
@@ -396,7 +396,8 @@ libptexenc_la_SOURCES = \
4
 libptexenc_la_LIBADD = $(KPATHSEA_LIBS)
4
 libptexenc_la_LIBADD = $(KPATHSEA_LIBS)
5
 nobase_include_HEADERS = \
5
 nobase_include_HEADERS = \
6
 	ptexenc/ptexenc.h \
6
 	ptexenc/ptexenc.h \
Lines 8-15 Link Here
8
+	ptexenc/unicode.h \
8
+	ptexenc/unicode.h \
9
+	ptexenc/unicode-jp.h
9
+	ptexenc/unicode-jp.h
10
 
10
 
11
-pkgconfigdir = ${libdir}/pkgconfig
11
 pkgconfigdir = $(prefix)/libdata/pkgconfig
12
+pkgconfigdir = $(prefix)/libdata/pkgconfig
13
 pkgconfig_DATA = ptexenc.pc
12
 pkgconfig_DATA = ptexenc.pc
14
 EXTRA_DIST = COPYRIGHT ChangeLog.jp
15
 
(-)science/chemical-mime-data/Makefile (-2 / +1 lines)
Lines 12-18 COMMENT= Collection of chemical MIME types for UNIX desktops Link Here
12
12
13
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:graphics/librsvg2
13
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:graphics/librsvg2
14
14
15
USES=		gettext-tools gmake pkgconfig tar:bzip2 shared-mime-info
15
USES=		gettext-tools gmake pathfix pkgconfig tar:bzip2 shared-mime-info
16
USE_GNOME=	gnomemimedata intlhack libxslt:build
16
USE_GNOME=	gnomemimedata intlhack libxslt:build
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--disable-update-database
18
CONFIGURE_ARGS=	--disable-update-database
Lines 22-28 INSTALLS_ICONS= yes Link Here
22
22
23
post-patch:
23
post-patch:
24
	@${REINPLACE_CMD} -e 's|*-*-solaris*|*| ; s|rsvg|rsvg-convert|g' ${WRKSRC}/configure
24
	@${REINPLACE_CMD} -e 's|*-*-solaris*|*| ; s|rsvg|rsvg-convert|g' ${WRKSRC}/configure
25
	@${REINPLACE_CMD} -e 's|(datadir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
26
	@${REINPLACE_CMD} -e 's|-f png $$< |-f png $$< > |' ${WRKSRC}/icons/hicolor/Makefile.in
25
	@${REINPLACE_CMD} -e 's|-f png $$< |-f png $$< > |' ${WRKSRC}/icons/hicolor/Makefile.in
27
26
28
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)security/clamav/Makefile (-3 / +1 lines)
Lines 56-62 DMG_XAR_USE= GNOME=libxml2 Link Here
56
56
57
GNU_CONFIGURE=	yes
57
GNU_CONFIGURE=	yes
58
USE_LDCONFIG=	yes
58
USE_LDCONFIG=	yes
59
USES=		cpe gmake libtool ncurses
59
USES=		cpe gmake libtool ncurses pathfix
60
INSTALL_TARGET=	install-strip
60
INSTALL_TARGET=	install-strip
61
USE_RC_SUBR=	clamav-clamd clamav-freshclam
61
USE_RC_SUBR=	clamav-clamd clamav-freshclam
62
62
Lines 177-184 post-patch: Link Here
177
	@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lthr|g' \
177
	@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lthr|g' \
178
			  -e 's|LC_REVISION=22|LC_REVISION=24|' \
178
			  -e 's|LC_REVISION=22|LC_REVISION=24|' \
179
		${WRKSRC}/${CONFIGURE_SCRIPT}
179
		${WRKSRC}/${CONFIGURE_SCRIPT}
180
	@${REINPLACE_CMD} -e 's,^\(pkgconfigdir = \).*$$,\1$$\(prefix\)/libdata/pkgconfig,g' \
181
		${WRKSRC}/Makefile.in
182
	@${REINPLACE_CMD} ${SED_CONF} \
180
	@${REINPLACE_CMD} ${SED_CONF} \
183
		${WRKSRC}/etc/clamd.conf.sample \
181
		${WRKSRC}/etc/clamd.conf.sample \
184
		${WRKSRC}/etc/freshclam.conf.sample \
182
		${WRKSRC}/etc/freshclam.conf.sample \
(-)security/d0_blind_id/Makefile (-1 / +1 lines)
Lines 15-21 USE_GITHUB= yes Link Here
15
GH_ACCOUNT=	divVerent
15
GH_ACCOUNT=	divVerent
16
GH_TAGNAME=	ff1ce7e
16
GH_TAGNAME=	ff1ce7e
17
17
18
USES=		autoreconf libtool ssl
18
USES=		autoreconf libtool pathfix ssl
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-openssl
20
CONFIGURE_ARGS=	--with-openssl
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
(-)security/d0_blind_id/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- ./Makefile.am.orig	2014-03-17 06:18:23.208622713 +0000
2
+++ ./Makefile.am	2014-03-17 06:18:59.472680831 +0000
3
@@ -33,7 +33,7 @@
4
 libd0_blind_id_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
5
 library_includedir = $(includedir)/d0_blind_id
6
 library_include_HEADERS = d0_blind_id.h d0.h
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_HEADERS = d0_blind_id.pc
10
 
11
 if ENABLE_RIJNDAEL
(-)security/sssd/Makefile (-1 lines)
Lines 55-61 USE_LDCONFIG= yes Link Here
55
USE_OPENLDAP=	yes
55
USE_OPENLDAP=	yes
56
USES=		autoreconf cpe gettext gmake iconv libtool pathfix pkgconfig \
56
USES=		autoreconf cpe gettext gmake iconv libtool pathfix pkgconfig \
57
		python:2 shebangfix gssapi:mit
57
		python:2 shebangfix gssapi:mit
58
PATHFIX_MAKEFILEIN=	Makefile.am
59
INSTALL_TARGET=	install-strip
58
INSTALL_TARGET=	install-strip
60
CPE_VENDOR=	fedoraproject
59
CPE_VENDOR=	fedoraproject
61
60
(-)security/suricata/Makefile (-2 lines)
Lines 28-35 CPE_VENDOR= openinfosecfoundation Link Here
28
INSTALL_TARGET=		install-strip
28
INSTALL_TARGET=		install-strip
29
TEST_TARGET=		check
29
TEST_TARGET=		check
30
30
31
PATHFIX_MAKEFILEIN=	Makefile.am
32
33
OPTIONS_DEFINE=		GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE SC TESTS
31
OPTIONS_DEFINE=		GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE SC TESTS
34
OPTIONS_DEFAULT=	HTP_PORT IPFW JSON NETMAP PRELUDE
32
OPTIONS_DEFAULT=	HTP_PORT IPFW JSON NETMAP PRELUDE
35
OPTIONS_SUB=		yes
33
OPTIONS_SUB=		yes
(-)security/yara/Makefile (-1 lines)
Lines 18-24 GNU_CONFIGURE= yes Link Here
18
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
19
USES=		alias autoreconf libtool pathfix ssl
19
USES=		alias autoreconf libtool pathfix ssl
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
CPPFLAGS+=	-isystem ${OPENSSLINC}
21
CPPFLAGS+=	-isystem ${OPENSSLINC}
23
LIBS+=		-L${OPENSSLLIB}
22
LIBS+=		-L${OPENSSLLIB}
24
23
(-)security/ykpers/Makefile (-5 / +1 lines)
Lines 14-20 LIB_DEPENDS= libyubikey.so:security/libyubikey Link Here
14
14
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USES=		libtool pkgconfig
17
USES=		libtool pathfix pkgconfig
18
18
19
PLIST_FILES=	bin/ykchalresp \
19
PLIST_FILES=	bin/ykchalresp \
20
		bin/ykinfo \
20
		bin/ykinfo \
Lines 42-51 MAKE_JOBS_UNSAFE= yes Link Here
42
42
43
LDFLAGS+=	-L/usr/lib
43
LDFLAGS+=	-L/usr/lib
44
44
45
post-patch:
46
	@${REINPLACE_CMD} -e 's|^pkgconfigdir = .*|pkgconfigdir = /usr/local/libdata/pkgconfig|g' \
47
		${WRKSRC}/Makefile.in
48
49
regression-test: build
45
regression-test: build
50
	@(cd ${WRKSRC}; ${MAKE} check)
46
	@(cd ${WRKSRC}; ${MAKE} check)
51
47
(-)shells/bash-completion/Makefile (-1 / +2 lines)
Lines 17-23 RUN_DEPENDS= bash:shells/bash Link Here
17
17
18
USE_AUTOTOOLS=	aclocal automake
18
USE_AUTOTOOLS=	aclocal automake
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USES=		gmake tar:bzip2
20
USES=		gmake pathfix tar:bzip2
21
PATHFIX_MAKEFILEIN=	Makefile.am
21
22
22
SUB_FILES=	pkg-message
23
SUB_FILES=	pkg-message
23
SUB_LIST+=	RUNFILE=${DATADIR}/bash_completion.sh
24
SUB_LIST+=	RUNFILE=${DATADIR}/bash_completion.sh
(-)shells/bash-completion/files/patch-Makefile.am (-7 / +3 lines)
Lines 1-6 Link Here
1
--- Makefile.am.orig	2013-04-05 09:43:56.000000000 +0000
1
--- Makefile.am.orig	2016-10-04 13:52:42 UTC
2
+++ Makefile.am
2
+++ Makefile.am
3
@@ -5,10 +5,10 @@ pkgdata_DATA = bash_completion
3
@@ -5,7 +5,7 @@ pkgdata_DATA = bash_completion
4
 # Empty, but here just to get the compat dir created with install
4
 # Empty, but here just to get the compat dir created with install
5
 compat_DATA =
5
 compat_DATA =
6
 
6
 
Lines 8-18 Link Here
8
+profiledir = $(prefix)/share/bash-completion
8
+profiledir = $(prefix)/share/bash-completion
9
 profile_DATA = bash_completion.sh
9
 profile_DATA = bash_completion.sh
10
 
10
 
11
-pkgconfigdir = $(datadir)/pkgconfig
11
 pkgconfigdir = $(prefix)/libdata/pkgconfig
12
+pkgconfigdir = $(prefix)/libdata/pkgconfig
13
 pkgconfig_DATA = bash-completion.pc
14
 
15
 bash_completion.sh: bash_completion.sh.in Makefile
16
@@ -20,8 +20,10 @@ EXTRA_DIST = CHANGES $(sysconf_DATA) $(p
12
@@ -20,8 +20,10 @@ EXTRA_DIST = CHANGES $(sysconf_DATA) $(p
17
         .dir-locals.el
13
         .dir-locals.el
18
 
14
 
(-)sysutils/afflib/Makefile (-1 lines)
Lines 21-27 GH_PROJECT= AFFLIBv3 Link Here
21
21
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
USES=		autoreconf fuse libtool pathfix readline ssl
23
USES=		autoreconf fuse libtool pathfix readline ssl
24
PATHFIX_MAKEFILEIN=	Makefile.am
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
CONFIGURE_ARGS=	--enable-s3=yes
25
CONFIGURE_ARGS=	--enable-s3=yes
27
INSTALL_TARGET=	install-strip
26
INSTALL_TARGET=	install-strip
(-)sysutils/cinnamon-control-center/files/patch-shell_Makefile.am (-11 lines)
Removed Link Here
1
--- shell/Makefile.orig.am	2013-03-01 11:03:35.043140465 +0100
2
+++ shell/Makefile.am	2013-03-01 11:03:42.973113146 +0100
3
@@ -67,7 +67,7 @@
4
 
5
 libcinnamon_control_center_includedir = $(includedir)/cinnamon-control-center-1/libcinnamon-control-center
6
 
7
-pkgconfigdir=$(libdir)/pkgconfig
8
+pkgconfigdir=$(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA=libcinnamon-control-center.pc
10
 
11
 AM_CPPFLAGS =							\
(-)sysutils/cinnamon-settings-daemon/Makefile (-1 lines)
Lines 35-41 USE_GITHUB= yes Link Here
35
GH_ACCOUNT=	linuxmint
35
GH_ACCOUNT=	linuxmint
36
USE_XORG=	xxf86misc
36
USE_XORG=	xxf86misc
37
GNU_CONFIGURE=	yes
37
GNU_CONFIGURE=	yes
38
PATHFIX_MAKEFILEIN=	Makefile.am
39
INSTALLS_ICONS=	yes
38
INSTALLS_ICONS=	yes
40
USE_LDCONFIG=	yes
39
USE_LDCONFIG=	yes
41
CONFIGURE_ARGS=	--disable-gudev \
40
CONFIGURE_ARGS=	--disable-gudev \
(-)sysutils/dateutils/Makefile (-5 / +1 lines)
Lines 12-26 LICENSE= BSD3CLAUSE Link Here
12
12
13
BUILD_DEPENDS=	help2man:misc/help2man
13
BUILD_DEPENDS=	help2man:misc/help2man
14
14
15
USES=		tar:xz
15
USES=		pathfix tar:xz
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
17
18
INFO=		dateutils
18
INFO=		dateutils
19
19
20
OPTIONS_DEFINE=	DOCS
20
OPTIONS_DEFINE=	DOCS
21
21
22
post-patch:
23
	@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
24
		${WRKSRC}/Makefile.in
25
26
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)sysutils/usbutils/Makefile (-1 / +1 lines)
Lines 15-21 COMMENT= Utility for listing USB devices Link Here
15
LICENSE=	GPLv2
15
LICENSE=	GPLv2
16
LICENSE_FILE=	${WRKSRC}/COPYING
16
LICENSE_FILE=	${WRKSRC}/COPYING
17
17
18
USES=		gmake pkgconfig
18
USES=		gmake pathfix pkgconfig
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
21
LDFLAGS+=	-L${LOCALBASE}/lib
21
LDFLAGS+=	-L${LOCALBASE}/lib
(-)sysutils/usbutils/files/patch-Makefile.am (-11 lines)
Removed Link Here
1
--- Makefile.am.orig	2010-07-13 21:30:02.000000000 +0200
2
+++ Makefile.am	2010-07-13 21:30:21.000000000 +0200
3
@@ -56,7 +56,7 @@ lsusb.8: $(srcdir)/lsusb.8.in
4
 usb-devices.1: $(srcdir)/usb-devices.1.in
5
 	sed 's|VERSION|$(VERSION)|g' $< >$@
6
 
7
-pkgconfigdir = $(datadir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = usbutils.pc
10
 
11
 usbutils.pc: $(srcdir)/usbutils.pc.in
(-)sysutils/usbutils/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2010-07-13 21:50:47.000000000 +0200
2
+++ Makefile.in	2010-07-13 21:51:39.000000000 +0200
3
@@ -223,7 +223,7 @@ EXTRA_DIST = \
4
 	usb-devices \
5
 	usbutils.pc.in
6
 
7
-pkgconfigdir = $(datadir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = usbutils.pc
10
 DISTCLEANFILES = \
11
 	usb.ids.gz \
(-)textproc/apertium/Makefile (-1 lines)
Lines 23-29 GNU_CONFIGURE= yes Link Here
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
25
MAKE_JOBS_UNSAFE=	yes
25
MAKE_JOBS_UNSAFE=	yes
26
PATHFIX_MAKEFILEIN=	Makefile.am
27
26
28
CPPFLAGS+=	-I${LOCALBASE}/include
27
CPPFLAGS+=	-I${LOCALBASE}/include
29
LDFLAGS+=	-L${LOCALBASE}/lib
28
LDFLAGS+=	-L${LOCALBASE}/lib
(-)textproc/augeas/Makefile (-2 / +1 lines)
Lines 15-21 TEST_DEPENDS= bash:shells/bash \ Link Here
15
		gsed:textproc/gsed
15
		gsed:textproc/gsed
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USES=		autoreconf cpe gmake libtool pkgconfig readline
18
USES=		autoreconf cpe gmake libtool pathfix pkgconfig readline
19
USE_GNOME=	libxml2
19
USE_GNOME=	libxml2
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
Lines 23-29 INSTALL_TARGET= install-strip Link Here
23
LENSESDIR=	${PREFIX}/share/augeas/lenses
23
LENSESDIR=	${PREFIX}/share/augeas/lenses
24
24
25
post-patch:
25
post-patch:
26
	@${REINPLACE_CMD} -e 's:$$(libdir)/pkgconfig:${PREFIX}/libdata/pkgconfig:' ${WRKSRC}/Makefile.am
27
	@${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh
26
	@${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh
28
	@${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh
27
	@${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh
29
	@${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \
28
	@${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \
(-)textproc/btparse/Makefile (-1 / +1 lines)
Lines 13-19 COMMENT= C library for parsing and processing BibTeX data files Link Here
13
13
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
16
USES=		perl5 libtool
16
USES=		perl5 libtool pathfix
17
USE_PERL5=	build
17
USE_PERL5=	build
18
18
19
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)textproc/btparse/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	Sun Mar 19 11:21:45 2006
2
+++ Makefile.in	Sun Mar 19 11:22:15 2006
3
@@ -139,7 +139,7 @@
4
 SUBDIRS = src tests progs doc
5
 EXTRA_DIST = $(wildcard pccts/*.[ch]) btparse.pc.in
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(libdir)/../libdata/pkgconfig
9
 pkgconfig_DATA = btparse.pc
10
 subdir = .
11
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
(-)textproc/hyperestraier/Makefile (-3 / +2 lines)
Lines 18-24 LIB_DEPENDS= libqdbm.so.14:databases/qdbm Link Here
18
LICENSE=	LGPL21
18
LICENSE=	LGPL21
19
LICENSE_FILE=	${WRKSRC}/COPYING
19
LICENSE_FILE=	${WRKSRC}/COPYING
20
20
21
USES=		iconv
21
USES=		iconv pathfix
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--enable-bzip2 --disable-zlib
24
CONFIGURE_ARGS=	--enable-bzip2 --disable-zlib
Lines 38-45 MECAB_LIB_DEPENDS= libmecab.so:japanese/mecab Link Here
38
MECAB_RUN_DEPENDS=	${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:japanese/mecab-ipadic
38
MECAB_RUN_DEPENDS=	${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:japanese/mecab-ipadic
39
39
40
post-patch:
40
post-patch:
41
	@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
41
	@${REINPLACE_CMD} -e 's/@MYCFLAGS@/@CFLAGS@ -Wall -fPIC -fsigned-char/' \
42
		-e 's/@MYCFLAGS@/@CFLAGS@ -Wall -fPIC -fsigned-char/' \
43
		${WRKSRC}/Makefile.in
42
		${WRKSRC}/Makefile.in
44
	@${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
43
	@${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
45
	@${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~
44
	@${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~
(-)textproc/ibus-table/Makefile (-3 / +1 lines)
Lines 17-23 LIB_DEPENDS= libibus-1.0.so:textproc/ibus Link Here
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
18
18
19
USE_GNOME=	pygtk2
19
USE_GNOME=	pygtk2
20
USES=		gmake pkgconfig python
20
USES=		gmake pathfix pkgconfig python
21
21
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
23
Lines 36-43 PLIST_SUB+= NLS="@comment " Link Here
36
.endif
36
.endif
37
37
38
post-patch:
38
post-patch:
39
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
40
		${WRKSRC}/Makefile.in
41
	@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|g" ${WRKSRC}/engine/*.py
39
	@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|g" ${WRKSRC}/engine/*.py
42
40
43
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)textproc/iksemel/Makefile (-1 lines)
Lines 19-25 GH_ACCOUNT= meduketto Link Here
19
GH_TAGNAME=	6cddfef
19
GH_TAGNAME=	6cddfef
20
20
21
USES=		autoreconf libtool makeinfo pathfix pkgconfig
21
USES=		autoreconf libtool makeinfo pathfix pkgconfig
22
PATHFIX_MAKEFILEIN=	Makefile.am
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
23
CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
25
LDFLAGS+=	-L${LOCALBASE}/lib
24
LDFLAGS+=	-L${LOCALBASE}/lib
(-)textproc/libcue/Makefile (-1 / +1 lines)
Lines 18-23 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	lipnitsk
18
GH_ACCOUNT=	lipnitsk
19
19
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
USES=		bison cmake:outsource
21
USES=		bison cmake:outsource pathfix
22
22
23
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)textproc/libcue/files/patch-CMakeLists.txt (-11 lines)
Removed Link Here
1
--- CMakeLists.txt.orig	2016-02-25 08:42:19 UTC
2
+++ CMakeLists.txt
3
@@ -19,7 +19,7 @@ SET (CUE_SOURCES
4
 
5
 CONFIGURE_FILE(libcue.pc.in libcue.pc @ONLY)
6
 INSTALL(FILES ${CMAKE_BINARY_DIR}/libcue.pc
7
-	DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
8
+	DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
9
 
10
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
11
 INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}) # for generated files
(-)textproc/libfo/files/patch-Makefile.am (-9 lines)
Lines 9-20 Link Here
9
 
9
 
10
 if PLATFORM_WIN32
10
 if PLATFORM_WIN32
11
 no_undefined = -no-undefined
11
 no_undefined = -no-undefined
12
@@ -19,7 +19,7 @@ INCLUDES = \
13
 	-Ilibfo
14
 
15
 
16
-pkgconfigdir = $(libdir)/pkgconfig
17
+pkgconfigdir = ${LOCALBASE}/libdata/pkgconfig
18
 pkgconfig_DATA = libfo-0.6.pc
19
 
20
 xmldir = $(datadir)/xml/libfo-@VERSION@
(-)textproc/libguess/Makefile (-4 / +1 lines)
Lines 12-24 COMMENT= High-speed character set detection library Link Here
12
LIB_DEPENDS=	libmowgli.so:devel/libmowgli
12
LIB_DEPENDS=	libmowgli.so:devel/libmowgli
13
13
14
USES=		gmake pathfix pkgconfig
14
USES=		gmake pathfix pkgconfig
15
PATHFIX_MAKEFILEIN=	Makefile
15
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
16
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
17
18
18
MAKE_ARGS+=	PREFIX="${STAGEDIR}${PREFIX}"
19
MAKE_ARGS+=	PREFIX="${STAGEDIR}${PREFIX}"
19
20
20
post-patch:
21
	@${REINPLACE_CMD} -e 's|$${DESTDIR}$${libdir}/pkgconfig|$${PREFIX}/libdata/pkgconfig|g' \
22
		${WRKSRC}/Makefile
23
24
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)textproc/liblrdf/Makefile (-1 lines)
Lines 24-30 USES= autoreconf iconv libtool pathfix pkgconfig Link Here
24
USE_GNOME=	libxml2 libxslt
24
USE_GNOME=	libxml2 libxslt
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
USE_OPENSSL=	yes
26
USE_OPENSSL=	yes
27
PATHFIX_MAKEFILEIN=	Makefile.am
28
INSTALL_TARGET=	install-strip
27
INSTALL_TARGET=	install-strip
29
28
30
CFLAGS+=	-I${OPENSSLINC}
29
CFLAGS+=	-I${OPENSSLINC}
(-)textproc/libucl/Makefile (-1 lines)
Lines 44-50 GNU_CONFIGURE= yes Link Here
44
44
45
GH_ACCOUNT=	vstakhov
45
GH_ACCOUNT=	vstakhov
46
46
47
PATHFIX_MAKEFILEIN=	Makefile.am
48
CONFLICTS_INSTALL=	ucl
47
CONFLICTS_INSTALL=	ucl
49
48
50
INSTALL_TARGET=	install-strip
49
INSTALL_TARGET=	install-strip
(-)textproc/m17n-im-config/Makefile (-5 / +1 lines)
Lines 16-22 LIB_DEPENDS= libm17n.so:devel/m17n-lib Link Here
16
MAKE_JOBS_UNSAFE=	yes
16
MAKE_JOBS_UNSAFE=	yes
17
17
18
USE_GNOME=	gtk20 intltool intlhack glib20
18
USE_GNOME=	gtk20 intltool intlhack glib20
19
USES=		gettext pkgconfig libtool
19
USES=		gettext pathfix pkgconfig libtool
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
Lines 41-48 CONFIGURE_ARGS+= --disable-nls Link Here
41
PLIST_SUB+=	NLS="@comment "
41
PLIST_SUB+=	NLS="@comment "
42
.endif
42
.endif
43
43
44
post-patch:
45
	@${REINPLACE_CMD} -e 's|^pkgconfigdir = $${libdir}/pkgconfig|pkgconfigdir = $${prefix}/libdata/pkgconfig|' \
46
		${WRKSRC}/Makefile.in
47
48
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)textproc/ots/Makefile (-1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
16
LIB_DEPENDS=	libpopt.so:devel/popt
16
LIB_DEPENDS=	libpopt.so:devel/popt
17
17
18
USES=		autoreconf gettext libtool pathfix pkgconfig
18
USES=		autoreconf gettext libtool pathfix pkgconfig
19
PATHFIX_MAKEFILEIN=	Makefile.am
20
USE_GNOME=	glib20 libxml2
19
USE_GNOME=	glib20 libxml2
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
(-)textproc/tokyodystopia/Makefile (-3 / +2 lines)
Lines 14-20 LICENSE= LGPL21 Link Here
14
LIB_DEPENDS=	libtokyocabinet.so:databases/tokyocabinet
14
LIB_DEPENDS=	libtokyocabinet.so:databases/tokyocabinet
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USES=		gmake
17
USES=		gmake pathfix
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
CONFIGURE_ARGS=	--libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
19
CONFIGURE_ARGS=	--libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
20
20
Lines 29-36 post-extract: Link Here
29
	@${RM} ${WRKSRC}/doc/index.html~
29
	@${RM} ${WRKSRC}/doc/index.html~
30
30
31
post-patch:
31
post-patch:
32
	@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
32
	@${REINPLACE_CMD} -e 's|DATADIR =.*|DATADIR = ${DOCSDIR}|' \
33
		-e 's|DATADIR =.*|DATADIR = ${DOCSDIR}|' \
34
		${WRKSRC}/Makefile.in
33
		${WRKSRC}/Makefile.in
35
34
36
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)textproc/turboxsl/Makefile (-1 / +1 lines)
Lines 16-22 LIB_DEPENDS= libck.so:devel/concurrencykit \ Link Here
16
16
17
BROKEN_powerpc64=	Does not build
17
BROKEN_powerpc64=	Does not build
18
ONLY_FOR_ARCHS=	amd64 ia64 powerpc64 sparc64
18
ONLY_FOR_ARCHS=	amd64 ia64 powerpc64 sparc64
19
USES=		autoreconf libtool pkgconfig
19
USES=		autoreconf libtool pathfix pkgconfig
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	Litres
22
GH_ACCOUNT=	Litres
(-)textproc/turboxsl/files/patch-Makefile.am (-10 lines)
Removed Link Here
1
--- Makefile.am.orig	2015-07-02 18:01:10 UTC
2
+++ Makefile.am
3
@@ -8,6 +8,6 @@ ACLOCAL_AMFLAGS = -I m4
4
 
5
 bin_SCRIPTS = turboxsl-config
6
 
7
-pkgconfigdir=$(libdir)/pkgconfig
8
+pkgconfigdir=$(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = libturboxsl.pc
10
 
(-)textproc/uim/Makefile (-1 / +1 lines)
Lines 16-22 COMMENT?= Input method library Link Here
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
WANT_GNOME=	yes
17
WANT_GNOME=	yes
18
USE_GNOME+=	glib20 intltool
18
USE_GNOME+=	glib20 intltool
19
USES+=		gettext gmake iconv libedit libtool pkgconfig perl5 tar:bzip2
19
USES+=		gettext gmake iconv libedit libtool pathfix pkgconfig perl5 tar:bzip2
20
USE_PERL5=	build
20
USE_PERL5=	build
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
22
(-)textproc/uim/files/extra-patch-gtk2_immodule_Makefile.in (-5 / +5 lines)
Lines 1-7 Link Here
1
--- gtk2/immodule/Makefile.in.orig	2012-04-01 04:00:38.000000000 +0900
1
--- gtk2/immodule/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ gtk2/immodule/Makefile.in	2012-04-01 04:04:21.000000000 +0900
2
+++ gtk2/immodule/Makefile.in
3
@@ -82,8 +82,7 @@
3
@@ -105,8 +105,7 @@ am__uninstall_files_from_dir = { \
4
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
4
   }
5
 am__installdirs = "$(DESTDIR)$(moduledir)"
5
 am__installdirs = "$(DESTDIR)$(moduledir)"
6
 LTLIBRARIES = $(module_LTLIBRARIES)
6
 LTLIBRARIES = $(module_LTLIBRARIES)
7
-@GTK2_TRUE@im_uim_la_DEPENDENCIES = $(top_builddir)/uim/libuim-scm.la \
7
-@GTK2_TRUE@im_uim_la_DEPENDENCIES = $(top_builddir)/uim/libuim-scm.la \
Lines 10-16 Link Here
10
 @GTK2_TRUE@	$(top_builddir)/uim/libuim-counted-init.la \
10
 @GTK2_TRUE@	$(top_builddir)/uim/libuim-counted-init.la \
11
 @GTK2_TRUE@	$(am__append_1)
11
 @GTK2_TRUE@	$(am__append_1)
12
 am__im_uim_la_SOURCES_DIST = gtk-im-uim.c gtk-im-uim.h key-util-gtk.c \
12
 am__im_uim_la_SOURCES_DIST = gtk-im-uim.c gtk-im-uim.h key-util-gtk.c \
13
@@ -411,8 +410,8 @@
13
@@ -442,8 +441,8 @@ moduledir = $(uim_gtk_im_module_path)/@G
14
 @GTK2_TRUE@module_LTLIBRARIES = $(im_uim_la)
14
 @GTK2_TRUE@module_LTLIBRARIES = $(im_uim_la)
15
 @GTK2_TRUE@im_uim_la_SOURCES = $(IM_UIM_SOURCES)
15
 @GTK2_TRUE@im_uim_la_SOURCES = $(IM_UIM_SOURCES)
16
 @GTK2_TRUE@im_uim_la_LDFLAGS = -module -avoid-version @GTK2_LIBS@
16
 @GTK2_TRUE@im_uim_la_LDFLAGS = -module -avoid-version @GTK2_LIBS@
(-)textproc/uim/files/extra-patch-gtk2_pad_Makefile.in (-4 / +4 lines)
Lines 1-6 Link Here
1
--- gtk2/pad/Makefile.in.orig	2012-04-01 03:20:14.000000000 +0900
1
--- gtk2/pad/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ gtk2/pad/Makefile.in	2012-04-01 03:21:13.000000000 +0900
2
+++ gtk2/pad/Makefile.in
3
@@ -63,9 +63,7 @@
3
@@ -80,9 +80,7 @@ am__uim_input_pad_ja_SOURCES_DIST = ja.c
4
 @GTK2_TRUE@am_uim_input_pad_ja_OBJECTS =  \
4
 @GTK2_TRUE@am_uim_input_pad_ja_OBJECTS =  \
5
 @GTK2_TRUE@	uim_input_pad_ja-ja.$(OBJEXT)
5
 @GTK2_TRUE@	uim_input_pad_ja-ja.$(OBJEXT)
6
 uim_input_pad_ja_OBJECTS = $(am_uim_input_pad_ja_OBJECTS)
6
 uim_input_pad_ja_OBJECTS = $(am_uim_input_pad_ja_OBJECTS)
Lines 11-17 Link Here
11
 uim_input_pad_ja_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
11
 uim_input_pad_ja_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
12
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(uim_input_pad_ja_CFLAGS) \
12
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(uim_input_pad_ja_CFLAGS) \
13
 	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
13
 	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
14
@@ -353,8 +351,8 @@
14
@@ -378,8 +376,8 @@ top_builddir = @top_builddir@
15
 top_srcdir = @top_srcdir@
15
 top_srcdir = @top_srcdir@
16
 uim_pixmapsdir = @uim_pixmapsdir@
16
 uim_pixmapsdir = @uim_pixmapsdir@
17
 @GTK2_TRUE@uim_input_pad_ja_SOURCES = ja.c
17
 @GTK2_TRUE@uim_input_pad_ja_SOURCES = ja.c
(-)textproc/uim/files/extra-patch-gtk2_pref_Makefile.in (-4 / +4 lines)
Lines 1-6 Link Here
1
--- gtk2/pref/Makefile.in.orig	2012-04-01 03:22:10.000000000 +0900
1
--- gtk2/pref/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ gtk2/pref/Makefile.in	2012-04-01 03:28:01.000000000 +0900
2
+++ gtk2/pref/Makefile.in
3
@@ -69,9 +69,6 @@
3
@@ -86,9 +86,6 @@ am__uim_pref_gtk_SOURCES_DIST = gtk.c gt
4
 @GTK2_4_TRUE@@PREF_TRUE@	uim_pref_gtk-key-util-gtk.$(OBJEXT)
4
 @GTK2_4_TRUE@@PREF_TRUE@	uim_pref_gtk-key-util-gtk.$(OBJEXT)
5
 uim_pref_gtk_OBJECTS = $(am_uim_pref_gtk_OBJECTS)
5
 uim_pref_gtk_OBJECTS = $(am_uim_pref_gtk_OBJECTS)
6
 @GTK2_4_TRUE@@PREF_TRUE@uim_pref_gtk_DEPENDENCIES =  \
6
 @GTK2_4_TRUE@@PREF_TRUE@uim_pref_gtk_DEPENDENCIES =  \
Lines 10-16 Link Here
10
 @GTK2_4_TRUE@@PREF_TRUE@	$(am__append_1)
10
 @GTK2_4_TRUE@@PREF_TRUE@	$(am__append_1)
11
 uim_pref_gtk_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
11
 uim_pref_gtk_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
12
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(uim_pref_gtk_CFLAGS) \
12
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(uim_pref_gtk_CFLAGS) \
13
@@ -367,9 +364,9 @@
13
@@ -392,9 +389,9 @@ helper_defs = -DUIM_DATADIR=\""$(datadir
14
 @GTK2_4_TRUE@@PREF_TRUE@			../immodule/key-util-gtk.h
14
 @GTK2_4_TRUE@@PREF_TRUE@			../immodule/key-util-gtk.h
15
 
15
 
16
 @GTK2_4_TRUE@@PREF_TRUE@uim_pref_gtk_LDADD = @GTK2_LIBS@ \
16
 @GTK2_4_TRUE@@PREF_TRUE@uim_pref_gtk_LDADD = @GTK2_LIBS@ \
(-)textproc/uim/files/extra-patch-gtk2_switcher_Makefile.in (-4 / +4 lines)
Lines 1-6 Link Here
1
--- gtk2/switcher/Makefile.in.orig	2012-04-01 03:28:48.000000000 +0900
1
--- gtk2/switcher/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ gtk2/switcher/Makefile.in	2012-04-01 03:30:27.000000000 +0900
2
+++ gtk2/switcher/Makefile.in
3
@@ -63,11 +63,7 @@
3
@@ -80,11 +80,7 @@ am__uim_im_switcher_gtk_SOURCES_DIST = g
4
 @GTK2_TRUE@am_uim_im_switcher_gtk_OBJECTS =  \
4
 @GTK2_TRUE@am_uim_im_switcher_gtk_OBJECTS =  \
5
 @GTK2_TRUE@	uim_im_switcher_gtk-gtk.$(OBJEXT)
5
 @GTK2_TRUE@	uim_im_switcher_gtk-gtk.$(OBJEXT)
6
 uim_im_switcher_gtk_OBJECTS = $(am_uim_im_switcher_gtk_OBJECTS)
6
 uim_im_switcher_gtk_OBJECTS = $(am_uim_im_switcher_gtk_OBJECTS)
Lines 13-19 Link Here
13
 uim_im_switcher_gtk_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
13
 uim_im_switcher_gtk_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
14
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) \
14
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) \
15
 	$(uim_im_switcher_gtk_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
15
 	$(uim_im_switcher_gtk_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
16
@@ -356,10 +352,9 @@
16
@@ -381,10 +377,9 @@ top_builddir = @top_builddir@
17
 top_srcdir = @top_srcdir@
17
 top_srcdir = @top_srcdir@
18
 uim_pixmapsdir = @uim_pixmapsdir@
18
 uim_pixmapsdir = @uim_pixmapsdir@
19
 @GTK2_TRUE@uim_im_switcher_gtk_SOURCES = gtk.c
19
 @GTK2_TRUE@uim_im_switcher_gtk_SOURCES = gtk.c
(-)textproc/uim/files/extra-patch-gtk2_toolbar_Makefile.in (-16 / +8 lines)
Lines 1-6 Link Here
1
--- gtk2/toolbar/Makefile.in.orig	2012-03-30 22:02:18.000000000 +0900
1
--- gtk2/toolbar/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ gtk2/toolbar/Makefile.in	2012-04-01 04:11:24.000000000 +0900
2
+++ gtk2/toolbar/Makefile.in
3
@@ -71,10 +71,7 @@
3
@@ -88,10 +88,7 @@ am__uim_toolbar_applet_SOURCES_DIST = ap
4
 @APPLET_GNOME_TRUE@	uim_toolbar_applet-applet-gnome.$(OBJEXT) \
4
 @APPLET_GNOME_TRUE@	uim_toolbar_applet-applet-gnome.$(OBJEXT) \
5
 @APPLET_GNOME_TRUE@	uim_toolbar_applet-common-gtk.$(OBJEXT)
5
 @APPLET_GNOME_TRUE@	uim_toolbar_applet-common-gtk.$(OBJEXT)
6
 uim_toolbar_applet_OBJECTS = $(am_uim_toolbar_applet_OBJECTS)
6
 uim_toolbar_applet_OBJECTS = $(am_uim_toolbar_applet_OBJECTS)
Lines 12-18 Link Here
12
 uim_toolbar_applet_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
12
 uim_toolbar_applet_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
13
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) \
13
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) \
14
 	$(uim_toolbar_applet_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
14
 	$(uim_toolbar_applet_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
15
@@ -82,9 +79,7 @@
15
@@ -99,9 +96,7 @@ uim_toolbar_applet_LINK = $(LIBTOOL) --t
16
 am_uim_toolbar_gtk_OBJECTS = uim_toolbar_gtk-standalone-gtk.$(OBJEXT) \
16
 am_uim_toolbar_gtk_OBJECTS = uim_toolbar_gtk-standalone-gtk.$(OBJEXT) \
17
 	uim_toolbar_gtk-common-gtk.$(OBJEXT)
17
 	uim_toolbar_gtk-common-gtk.$(OBJEXT)
18
 uim_toolbar_gtk_OBJECTS = $(am_uim_toolbar_gtk_OBJECTS)
18
 uim_toolbar_gtk_OBJECTS = $(am_uim_toolbar_gtk_OBJECTS)
Lines 23-29 Link Here
23
 uim_toolbar_gtk_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
23
 uim_toolbar_gtk_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
24
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(uim_toolbar_gtk_CFLAGS) \
24
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(uim_toolbar_gtk_CFLAGS) \
25
 	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
25
 	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
26
@@ -94,10 +89,7 @@
26
@@ -111,10 +106,7 @@ am_uim_toolbar_gtk_systray_OBJECTS =  \
27
 	uim_toolbar_gtk_systray-eggtrayicon.$(OBJEXT)
27
 	uim_toolbar_gtk_systray-eggtrayicon.$(OBJEXT)
28
 uim_toolbar_gtk_systray_OBJECTS =  \
28
 uim_toolbar_gtk_systray_OBJECTS =  \
29
 	$(am_uim_toolbar_gtk_systray_OBJECTS)
29
 	$(am_uim_toolbar_gtk_systray_OBJECTS)
Lines 35-41 Link Here
35
 uim_toolbar_gtk_systray_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
35
 uim_toolbar_gtk_systray_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
36
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) \
36
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) \
37
 	$(uim_toolbar_gtk_systray_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
37
 	$(uim_toolbar_gtk_systray_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
38
@@ -412,16 +404,16 @@
38
@@ -443,9 +435,9 @@ uim_pixmapsdir = @uim_pixmapsdir@
39
 EXTRA_DIST = GNOME_UimApplet.server.in.in
39
 EXTRA_DIST = GNOME_UimApplet.server.in.in
40
 helper_defs = -DUIM_DATADIR=\""$(datadir)/@PACKAGE@"\"
40
 helper_defs = -DUIM_DATADIR=\""$(datadir)/@PACKAGE@"\"
41
 @APPLET_GNOME_TRUE@uim_toolbar_applet_LDADD = @GTK2_LIBS@ @APPLET_GNOME_LIBS@ \
41
 @APPLET_GNOME_TRUE@uim_toolbar_applet_LDADD = @GTK2_LIBS@ @APPLET_GNOME_LIBS@ \
Lines 48-62 Link Here
48
 
48
 
49
 @APPLET_GNOME_TRUE@uim_toolbar_applet_CPPFLAGS = $(helper_defs) -I$(top_srcdir) -I$(top_builddir)
49
 @APPLET_GNOME_TRUE@uim_toolbar_applet_CPPFLAGS = $(helper_defs) -I$(top_srcdir) -I$(top_builddir)
50
 @APPLET_GNOME_TRUE@uim_toolbar_applet_CFLAGS = @GTK2_CFLAGS@ @APPLET_GNOME_CFLAGS@
50
 @APPLET_GNOME_TRUE@uim_toolbar_applet_CFLAGS = @GTK2_CFLAGS@ @APPLET_GNOME_CFLAGS@
51
 # recent version of gcc has the option to suppress the warning
51
@@ -460,9 +452,9 @@ helper_defs = -DUIM_DATADIR=\""$(datadir
52
 #uim_toolbar_applet_CFLAGS += -Wno-overlength-strings
53
 @APPLET_GNOME_TRUE@uim_toolbar_applet_SOURCES = applet-gnome.c common-gtk.c
54
-@APPLET_GNOME_TRUE@serverdir = $(libdir)/bonobo/servers
55
+@APPLET_GNOME_TRUE@serverdir = $(prefix)/libdata/bonobo/servers
56
 @APPLET_GNOME_TRUE@server_DATA = GNOME_UimApplet.server
57
 @APPLET_GNOME_TRUE@server_in_files = $(server_DATA:=.in)
58
 @APPLET_GNOME_TRUE@server_in_in_files = $(server_in_files:=.in)
59
@@ -429,9 +421,9 @@
60
 @APPLET_GNOME_TRUE@		 GNOME_UimApplet.server.in.tmp
52
 @APPLET_GNOME_TRUE@		 GNOME_UimApplet.server.in.tmp
61
 
53
 
62
 uim_toolbar_gtk_SOURCES = standalone-gtk.c common-gtk.c
54
 uim_toolbar_gtk_SOURCES = standalone-gtk.c common-gtk.c
Lines 69-75 Link Here
69
 
61
 
70
 uim_toolbar_gtk_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
62
 uim_toolbar_gtk_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
71
 uim_toolbar_gtk_CFLAGS = @GTK2_CFLAGS@
63
 uim_toolbar_gtk_CFLAGS = @GTK2_CFLAGS@
72
@@ -440,9 +432,9 @@
64
@@ -471,9 +463,9 @@ uim_toolbar_gtk_systray_SOURCES = systra
73
 
65
 
74
 uim_toolbar_gtk_systray_LDADD = @GTK2_LIBS@ \
66
 uim_toolbar_gtk_systray_LDADD = @GTK2_LIBS@ \
75
 				   @X11_LIBS@ \
67
 				   @X11_LIBS@ \
(-)textproc/uim/files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	2007-03-15 05:37:43.000000000 +0900
2
+++ Makefile.in	2007-09-25 00:15:31.000000000 +0900
3
@@ -316,7 +316,7 @@
4
 	uim.pc.in uim.desktop uim.spec.in uim.spec \
5
 	intltool-extract.in intltool-merge.in intltool-update.in
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = uim.pc
10
 desktopdir = $(datadir)/applications
11
 desktop_in_files = uim.desktop.in
(-)textproc/uim/files/patch-emacs_Makefile.in (-3 / +3 lines)
Lines 1-6 Link Here
1
--- emacs/Makefile.in.orig	2013-03-31 19:14:02.000000000 +0900
1
--- emacs/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ emacs/Makefile.in	2013-05-13 22:11:19.000000000 +0900
2
+++ emacs/Makefile.in
3
@@ -872,21 +872,6 @@
3
@@ -872,21 +872,6 @@ mostlyclean-libtool:
4
 
4
 
5
 clean-libtool:
5
 clean-libtool:
6
 	-rm -rf .libs _libs
6
 	-rm -rf .libs _libs
(-)textproc/uim/files/patch-po_Makefile.in.in (-3 / +3 lines)
Lines 1-6 Link Here
1
--- po/Makefile.in.in.orig	2007-09-25 01:35:53.000000000 +0900
1
--- po/Makefile.in.in.orig	2013-06-30 04:27:11 UTC
2
+++ po/Makefile.in.in	2007-09-25 01:36:59.000000000 +0900
2
+++ po/Makefile.in.in
3
@@ -33,7 +33,7 @@
3
@@ -33,7 +33,7 @@ exec_prefix = @exec_prefix@
4
 datadir = @datadir@
4
 datadir = @datadir@
5
 datarootdir = @datarootdir@
5
 datarootdir = @datarootdir@
6
 libdir = @libdir@
6
 libdir = @libdir@
(-)textproc/uim/files/patch-qt4_immodule_plugin.cpp (-4 / +2 lines)
Lines 8-16 Date: Sun Mar 2 13:26:18 2014 +0200 Link Here
8
      - Stop relying on implicit includes that may not always work and
8
      - Stop relying on implicit includes that may not always work and
9
        explicitly include <clocale> for the setlocale(3) call.
9
        explicitly include <clocale> for the setlocale(3) call.
10
10
11
diff --git a/qt4/immodule/plugin.cpp b/qt4/immodule/plugin.cpp
11
--- qt4/immodule/plugin.cpp.orig	2013-06-30 04:26:20 UTC
12
index cb5863a..be2b9f2 100644
13
--- qt4/immodule/plugin.cpp
14
+++ qt4/immodule/plugin.cpp
12
+++ qt4/immodule/plugin.cpp
15
@@ -34,6 +34,8 @@
13
@@ -34,6 +34,8 @@
16
 
14
 
Lines 19-23 index cb5863a..be2b9f2 100644 Link Here
19
+#include <clocale>
17
+#include <clocale>
20
+
18
+
21
 #include <QtCore/QStringList>
19
 #include <QtCore/QStringList>
20
 #include <QtGui/QInputContext>
22
 #ifdef Q_WS_X11
21
 #ifdef Q_WS_X11
23
 # include <QtGui/QX11Info>
(-)textproc/uim/files/patch-scm_sj3-custom.scm (-2 / +2 lines)
Lines 1-5 Link Here
1
--- scm/sj3-custom.scm.orig	2010-10-17 14:09:36.000000000 +0900
1
--- scm/sj3-custom.scm.orig	2013-06-30 04:26:09 UTC
2
+++ scm/sj3-custom.scm	2010-10-17 14:10:09.000000000 +0900
2
+++ scm/sj3-custom.scm
3
@@ -339,7 +339,7 @@
3
@@ -339,7 +339,7 @@
4
   (N_ "SJ3 user name")
4
   (N_ "SJ3 user name")
5
   (N_ "long description will be here."))
5
   (N_ "long description will be here."))
(-)textproc/uim/files/patch-sigscheme_doc_Makefile.in (-3 / +3 lines)
Lines 1-6 Link Here
1
--- sigscheme/doc/Makefile.in.orig	2007-09-25 01:31:53.000000000 +0900
1
--- sigscheme/doc/Makefile.in.orig	2016-10-14 09:57:35 UTC
2
+++ sigscheme/doc/Makefile.in	2007-09-25 01:33:45.000000000 +0900
2
+++ sigscheme/doc/Makefile.in
3
@@ -151,7 +151,7 @@
3
@@ -210,7 +210,7 @@ build_vendor = @build_vendor@
4
 builddir = @builddir@
4
 builddir = @builddir@
5
 datadir = @datadir@
5
 datadir = @datadir@
6
 datarootdir = @datarootdir@
6
 datarootdir = @datarootdir@
(-)textproc/uim/files/patch-sigscheme_libgcroots_Makefile.in (-11 lines)
Removed Link Here
1
--- sigscheme/libgcroots/Makefile.in.orig	2007-09-25 01:58:25.000000000 +0900
2
+++ sigscheme/libgcroots/Makefile.in	2007-09-25 01:59:00.000000000 +0900
3
@@ -345,7 +345,7 @@
4
 	include/gc_config_macros.h include/private/gc_hdrs.h \
5
 	include/private/gc_locks.h include/private/gc_priv.h \
6
 	include/private/gcconfig.h
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = gcroots.pc
10
 libgcroots_la_SOURCES = mark.c gcroots.c
11
 
(-)textproc/uim/files/patch-uim_uim.c (-4 / +4 lines)
Lines 1-6 Link Here
1
--- uim/uim.c.orig	2008-04-29 10:39:34.000000000 +0900
1
--- uim/uim.c.orig	2013-06-30 04:26:09 UTC
2
+++ uim/uim.c	2009-01-24 10:11:56.000000000 +0900
2
+++ uim/uim.c
3
@@ -90,10 +90,10 @@ fatal_error_hook(void)
3
@@ -101,10 +101,10 @@ fatal_error_hook(void)
4
   uim_fatal_error("an unhandled error raised from Scheme interpreter");
4
   uim_fatal_error("an unhandled error raised from Scheme interpreter");
5
 }
5
 }
6
 
6
 
Lines 13-19 Link Here
13
   char *sys_load_path;
13
   char *sys_load_path;
14
 
14
 
15
   if (uim_initialized)
15
   if (uim_initialized)
16
@@ -108,7 +108,7 @@ uim_init(void)
16
@@ -119,7 +119,7 @@ uim_init(void)
17
   uim_scm_init(sys_load_path);
17
   uim_scm_init(sys_load_path);
18
   uim_scm_set_fatal_error_hook(fatal_error_hook);
18
   uim_scm_set_fatal_error_hook(fatal_error_hook);
19
 
19
 
(-)textproc/uim/files/patch-uim_uim.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- uim/uim.h.orig	2008-09-07 23:05:06.000000000 +0900
1
--- uim/uim.h.orig	2013-06-30 04:26:09 UTC
2
+++ uim/uim.h	2009-01-24 11:20:11.000000000 +0900
2
+++ uim/uim.h
3
@@ -431,7 +431,7 @@ struct uim_code_converter {
3
@@ -430,7 +430,7 @@ struct uim_code_converter {
4
  *
4
  *
5
  * @return 0 on success, otherwise -1
5
  * @return 0 on success, otherwise -1
6
  */
6
  */
(-)textproc/uim/files/patch-xim_convdisp.cpp (-6 / +6 lines)
Lines 1-6 Link Here
1
--- ./xim/convdisp.cpp.orig	2009-01-21 11:16:35.000000000 +0900
1
--- xim/convdisp.cpp.orig	2013-06-30 04:26:09 UTC
2
+++ ./xim/convdisp.cpp	2009-01-23 02:41:58.000000000 +0900
2
+++ xim/convdisp.cpp
3
@@ -87,14 +87,14 @@
3
@@ -87,14 +87,14 @@ init_default_xftfont() {
4
     gXftFont = XftFontOpen(XimServer::gDpy, DefaultScreen(XimServer::gDpy),
4
     gXftFont = XftFontOpen(XimServer::gDpy, DefaultScreen(XimServer::gDpy),
5
 		    XFT_FAMILY, XftTypeString, fontname,
5
 		    XFT_FAMILY, XftTypeString, fontname,
6
 		    XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
6
 		    XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
Lines 17-23 Link Here
17
     }
17
     }
18
 }
18
 }
19
 
19
 
20
@@ -112,7 +112,7 @@
20
@@ -112,7 +112,7 @@ update_default_xftfont() {
21
 			DefaultScreen(XimServer::gDpy),
21
 			DefaultScreen(XimServer::gDpy),
22
 			XFT_FAMILY, XftTypeString, fontname,
22
 			XFT_FAMILY, XftTypeString, fontname,
23
 			XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
23
 			XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE,
Lines 26-32 Link Here
26
 	if (xftfont) {
26
 	if (xftfont) {
27
 	    if (gXftFont)
27
 	    if (gXftFont)
28
 		XftFontClose(XimServer::gDpy, gXftFont);
28
 		XftFontClose(XimServer::gDpy, gXftFont);
29
@@ -387,7 +387,7 @@
29
@@ -387,7 +387,7 @@ PeWin::PeWin(Window pw, const char *im_l
30
 			    DefaultScreen(XimServer::gDpy),
30
 			    DefaultScreen(XimServer::gDpy),
31
 			    XFT_FAMILY, XftTypeString, gXftFontName,
31
 			    XFT_FAMILY, XftTypeString, gXftFontName,
32
 			    XFT_PIXEL_SIZE, XftTypeDouble, (double)mXftFontSize,
32
 			    XFT_PIXEL_SIZE, XftTypeDouble, (double)mXftFontSize,
Lines 35-41 Link Here
35
 	}
35
 	}
36
 	mXftDraw = XftDrawCreate(XimServer::gDpy, mPixmap,
36
 	mXftDraw = XftDrawCreate(XimServer::gDpy, mPixmap,
37
 			DefaultVisual(XimServer::gDpy, scr_num),
37
 			DefaultVisual(XimServer::gDpy, scr_num),
38
@@ -557,7 +557,7 @@
38
@@ -557,7 +557,7 @@ void PeWin::set_xftfont(const char *xfld
39
 			    DefaultScreen(XimServer::gDpy),
39
 			    DefaultScreen(XimServer::gDpy),
40
 			    XFT_FAMILY, XftTypeString, gXftFontName,
40
 			    XFT_FAMILY, XftTypeString, gXftFontName,
41
 			    XFT_PIXEL_SIZE, XftTypeDouble, (double)size,
41
 			    XFT_PIXEL_SIZE, XftTypeDouble, (double)size,
(-)textproc/xmlroff/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
16
BUILD_DEPENDS=	libfo>=0.6.2:textproc/libfo
16
BUILD_DEPENDS=	libfo>=0.6.2:textproc/libfo
17
RUN_DEPENDS:=	${BUILD_DEPENDS}
17
RUN_DEPENDS:=	${BUILD_DEPENDS}
18
18
19
USES=		autoreconf gmake gettext libtool pkgconfig pathfix
19
USES=		autoreconf gmake gettext libtool pkgconfig
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
USE_GNOME=	libgnomeprint libartlgpl2 pango glib20 \
21
USE_GNOME=	libgnomeprint libartlgpl2 pango glib20 \
22
		libxslt libxml2 gdkpixbuf2
22
		libxslt libxml2 gdkpixbuf2
(-)www/libhtp-suricata/Makefile (-1 lines)
Lines 18-24 USE_LDCONFIG= yes Link Here
18
18
19
CONFLICTS_INSTALL=	libhtp-[0-9]*
19
CONFLICTS_INSTALL=	libhtp-[0-9]*
20
20
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
23
22
24
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)www/mod_webauth/Makefile (-3 / +1 lines)
Lines 13-19 COMMENT= Apache module for authenticating users with Kerberos v5 Link Here
13
LIB_DEPENDS=	libcurl.so:ftp/curl \
13
LIB_DEPENDS=	libcurl.so:ftp/curl \
14
		libsasl2.so:security/cyrus-sasl2
14
		libsasl2.so:security/cyrus-sasl2
15
15
16
USES=		libtool pkgconfig ssl
16
USES=		libtool pathfix pkgconfig ssl
17
USE_APACHE=	22+
17
USE_APACHE=	22+
18
USE_OPENLDAP=	yes
18
USE_OPENLDAP=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
Lines 25-32 LDFLAGS+= -L${LOCALBASE}/lib Link Here
25
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
26
26
27
post-patch:
27
post-patch:
28
	@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
29
		${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
30
	@${REINPLACE_CMD} -e '/typedef int sig_atomic_t/d' \
28
	@${REINPLACE_CMD} -e '/typedef int sig_atomic_t/d' \
31
		${WRKSRC}/portable/system.h
29
		${WRKSRC}/portable/system.h
32
30
(-)www/nghttp2/Makefile (-1 lines)
Lines 28-34 CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ Link Here
28
		ZLIB_LIBS="-L${LIBDIR} -lz"
28
		ZLIB_LIBS="-L${LIBDIR} -lz"
29
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
30
INSTALL_TARGET=	install-strip
30
INSTALL_TARGET=	install-strip
31
PATHFIX_MAKEFILEIN=	Makefile.am
32
USE_CXXSTD=	c++11
31
USE_CXXSTD=	c++11
33
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
34
USES=		autoreconf compiler:c++11-lib gmake libtool localbase pathfix pkgconfig ssl
33
USES=		autoreconf compiler:c++11-lib gmake libtool localbase pathfix pkgconfig ssl
(-)www/trafficserver/Makefile (-1 / +1 lines)
Lines 18-24 LIB_DEPENDS= libcurl.so:ftp/curl \ Link Here
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
INSTALL_TARGET=	install-strip
20
INSTALL_TARGET=	install-strip
21
USES=		cpe execinfo gmake libtool perl5 pkgconfig sqlite ssl tar:bzip2 tcl
21
USES=		cpe execinfo gmake libtool pathfix perl5 pkgconfig sqlite ssl tar:bzip2 tcl
22
CPE_VENDOR=	apache
22
CPE_VENDOR=	apache
23
CPE_PRODUCT=	traffic_server
23
CPE_PRODUCT=	traffic_server
24
USE_PERL5=	build run
24
USE_PERL5=	build run
(-)www/trafficserver/files/patch-tools_Makefile.in (-11 lines)
Removed Link Here
1
--- tools/Makefile.in.orig	2015-06-30 04:11:56 UTC
2
+++ tools/Makefile.in
3
@@ -614,7 +614,7 @@ valuesh = @valuesh@
4
 waith = @waith@
5
 zlibh = @zlibh@
6
 bin_SCRIPTS = tsxs tspush
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = trafficserver.pc
10
 AM_LDFLAGS = @EXTRA_CXX_LDFLAGS@ @LIBTOOL_LINK_FLAGS@
11
 AM_CPPFLAGS = $(iocore_include_dirs) \
(-)www/varnish4/Makefile (-3 / +1 lines)
Lines 17-23 LIB_DEPENDS= libpcre.so:devel/pcre Link Here
17
CONFLICTS=	varnish-2.* varnish-3.*
17
CONFLICTS=	varnish-2.* varnish-3.*
18
BROKEN_arm=	does not configure
18
BROKEN_arm=	does not configure
19
19
20
USES=		autoreconf cpe gmake libedit libtool pkgconfig python:2,build \
20
USES=		autoreconf cpe gmake libedit libtool pathfix pkgconfig python:2,build \
21
		readline shebangfix
21
		readline shebangfix
22
SHEBANG_FILES=	lib/libvcc/vmodtool.py
22
SHEBANG_FILES=	lib/libvcc/vmodtool.py
23
CPE_VENDOR=	varnish-cache
23
CPE_VENDOR=	varnish-cache
Lines 39-46 EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch Link Here
39
.endif
39
.endif
40
40
41
post-patch:
41
post-patch:
42
	@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
43
		${WRKSRC}/Makefile.am
44
.if defined(BAD_TESTS)
42
.if defined(BAD_TESTS)
45
	${RM} -f ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|}
43
	${RM} -f ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|}
46
.endif
44
.endif
(-)www/webkit-gtk2/Makefile (-3 / +2 lines)
Lines 29-35 PORTSCOUT= limit:^2\.4\. Link Here
29
USE_GSTREAMER1=	yes
29
USE_GSTREAMER1=	yes
30
USE_XORG=	xt xdamage xcomposite
30
USE_XORG=	xt xdamage xcomposite
31
USES=		bison compiler:c++11-lib gettext gmake gperf libtool localbase \
31
USES=		bison compiler:c++11-lib gettext gmake gperf libtool localbase \
32
		perl5 pkgconfig shebangfix sqlite tar:xz
32
		pathfix perl5 pkgconfig shebangfix sqlite tar:xz
33
PATHFIX_MAKEFILEIN=	GNUmakefile.in
33
USE_RUBY=	yes
34
USE_RUBY=	yes
34
RUBY_NO_RUN_DEPENDS=yes
35
RUBY_NO_RUN_DEPENDS=yes
35
USE_GNOME=	cairo gtk20 introspection:build libxslt
36
USE_GNOME=	cairo gtk20 introspection:build libxslt
Lines 100-107 post-patch: Link Here
100
# Since ruby 2.2 there is no ruby symlink
101
# Since ruby 2.2 there is no ruby symlink
101
	@${REINPLACE_CMD} -e 's|ruby|${RUBY_NAME}|g' \
102
	@${REINPLACE_CMD} -e 's|ruby|${RUBY_NAME}|g' \
102
		${WRKSRC}/configure
103
		${WRKSRC}/configure
103
	@${FIND} ${WRKSRC} -name GNUmakefile.in | ${XARGS} ${REINPLACE_CMD} -e \
104
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
105
104
106
post-install:
105
post-install:
107
	${INSTALL_PROGRAM} ${WRKSRC}/Programs/GtkLauncher \
106
	${INSTALL_PROGRAM} ${WRKSRC}/Programs/GtkLauncher \
(-)www/webkit-gtk3/Makefile (-3 / +2 lines)
Lines 29-35 PORTSCOUT= limit:^2\.4\. Link Here
29
USE_GSTREAMER1=	yes
29
USE_GSTREAMER1=	yes
30
USE_XORG=	xt xdamage xcomposite
30
USE_XORG=	xt xdamage xcomposite
31
USES=		bison compiler:c++11-lib gettext gmake gperf libtool localbase \
31
USES=		bison compiler:c++11-lib gettext gmake gperf libtool localbase \
32
		perl5 pkgconfig shebangfix sqlite tar:xz
32
		pathfix perl5 pkgconfig shebangfix sqlite tar:xz
33
PATHFIX_MAKEFILEIN=	GNUmakefile.in
33
USE_RUBY=	yes
34
USE_RUBY=	yes
34
RUBY_NO_RUN_DEPENDS=yes
35
RUBY_NO_RUN_DEPENDS=yes
35
USE_GNOME=	cairo gtk20 gtk30 introspection:build libxslt
36
USE_GNOME=	cairo gtk20 gtk30 introspection:build libxslt
Lines 107-114 post-patch: Link Here
107
# Since ruby 2.2 there is no ruby symlink
108
# Since ruby 2.2 there is no ruby symlink
108
	@${REINPLACE_CMD} -e 's|ruby|${RUBY_NAME}|g' \
109
	@${REINPLACE_CMD} -e 's|ruby|${RUBY_NAME}|g' \
109
		${WRKSRC}/configure
110
		${WRKSRC}/configure
110
	@${FIND} ${WRKSRC} -name GNUmakefile.in | ${XARGS} ${REINPLACE_CMD} -e \
111
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
112
111
113
post-install:
112
post-install:
114
	${INSTALL_PROGRAM} ${WRKSRC}/Programs/GtkLauncher \
113
	${INSTALL_PROGRAM} ${WRKSRC}/Programs/GtkLauncher \
(-)www/webkit-sharp/Makefile (-1 lines)
Lines 19-24 PLIST_SUB+= ASSEMBLY_VERSION=1.1.15 Link Here
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USES=		autoreconf gmake mono pathfix pkgconfig
20
USES=		autoreconf gmake mono pathfix pkgconfig
21
USE_GNOME=	gtksharp20
21
USE_GNOME=	gtksharp20
22
PATHFIX_MAKEFILEIN=	Makefile.am
23
22
24
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)www/yaws/Makefile (-1 lines)
Lines 29-35 GNU_CONFIGURE= yes Link Here
29
CONFIGURE_ARGS=	--localstatedir=/var
29
CONFIGURE_ARGS=	--localstatedir=/var
30
CONFIGURE_ENV=	wwwdir=${WWWDIR} yawsdir=${APPDIR}
30
CONFIGURE_ENV=	wwwdir=${WWWDIR} yawsdir=${APPDIR}
31
INSTALL_TARGET=	install-strip
31
INSTALL_TARGET=	install-strip
32
PATHFIX_MAKEFILEIN=Makefile.am
33
32
34
.include <bsd.port.options.mk>
33
.include <bsd.port.options.mk>
35
34
(-)x11-drivers/xf86-input-joystick/Makefile (-3 / +1 lines)
Lines 10-17 COMMENT= X.Org joystick input driver Link Here
10
10
11
XORG_CAT=	driver
11
XORG_CAT=	driver
12
12
13
post-patch:
13
USES=		pathfix
14
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
15
		${WRKSRC}/Makefile.in
16
14
17
.include <bsd.port.mk>
15
.include <bsd.port.mk>
(-)x11-fm/nemo/files/patch-libnemo-extensions_Makefile.am (-11 lines)
Removed Link Here
1
--- libnemo-extension/Makefile.orig.am	2013-03-02 09:00:45.222570308 +0100
2
+++ libnemo-extension/Makefile.am	2013-03-02 09:02:01.279567955 +0100
3
@@ -52,7 +52,7 @@
4
 	nemo-menu.c                                 \
5
 	$(NULL)
6
 
7
-pkgconfigdir=$(libdir)/pkgconfig
8
+pkgconfigdir=$(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA=libnemo-extension.pc
10
 
11
 EXTRA_DIST = \
(-)x11-toolkits/gai/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB Link Here
15
15
16
LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
16
LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
17
17
18
USES=		gettext-tools pkgconfig tar:bzip2
18
USES=		gettext-tools pathfix pkgconfig tar:bzip2
19
USE_GL=		gl
19
USE_GL=		gl
20
USE_SDL=	sdl
20
USE_SDL=	sdl
21
USE_GNOME=	libgnomeui
21
USE_GNOME=	libgnomeui
(-)x11-toolkits/gai/files/patch-gai_Makefile.in (-6 / +5 lines)
Lines 1-5 Link Here
1
--- gai/Makefile.in.orig	Thu Oct 27 15:00:22 2005
1
--- gai/Makefile.in.orig	2016-10-04 15:54:42 UTC
2
+++ gai/Makefile.in	Thu Oct 27 15:02:47 2005
2
+++ gai/Makefile.in
3
@@ -1,9 +1,9 @@
3
@@ -1,9 +1,9 @@
4
 
4
 
5
 # Makefile for the General Applet Interface Library
5
 # Makefile for the General Applet Interface Library
Lines 12-18 Link Here
12
 LDFLAGS += @GNOME_LIBS@ @GL_LIBS@ @SDL_LIBS@ @GTHREAD_LIBS@ @PANGO_LIBS@
12
 LDFLAGS += @GNOME_LIBS@ @GL_LIBS@ @SDL_LIBS@ @GTHREAD_LIBS@ @PANGO_LIBS@
13
 
13
 
14
 CC = @CC@
14
 CC = @CC@
15
@@ -23,13 +23,13 @@
15
@@ -23,13 +23,13 @@ libgai@LIB_END@: $(OBJS)
16
 
16
 
17
 install: libgai@LIB_END@
17
 install: libgai@LIB_END@
18
 	mkdir -p $(DESTDIR)$(PREFIX)/include/gai
18
 	mkdir -p $(DESTDIR)$(PREFIX)/include/gai
Lines 23-31 Link Here
23
+	$(BSD_INSTALL_PROGRAM) libgai@LIB_END@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@
23
+	$(BSD_INSTALL_PROGRAM) libgai@LIB_END@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@
24
 	ln -sf libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@
24
 	ln -sf libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@
25
 	ln -sf libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_END@
25
 	ln -sf libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_END@
26
-	mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
26
 	mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
27
-	cp ../gai.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
27
-	cp ../gai.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
28
+	mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
29
+	$(BSD_INSTALL_DATA) ../gai.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
28
+	$(BSD_INSTALL_DATA) ../gai.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
30
 uninstall:
29
 uninstall:
31
 	rm -f $(DESTDIR)$(PREFIX)/include/gai/gai.h
30
 	rm -f $(DESTDIR)$(PREFIX)/include/gai/gai.h
(-)x11-toolkits/girara/Makefile (-5 / +2 lines)
Lines 10-16 MAINTAINER= madpilot@FreeBSD.org Link Here
10
COMMENT=	GTK3 Interface Library for Zathura PDF Viewer
10
COMMENT=	GTK3 Interface Library for Zathura PDF Viewer
11
11
12
USE_GNOME=	glib20 gtk30
12
USE_GNOME=	glib20 gtk30
13
USES=		compiler:c11 gmake pkgconfig
13
USES=		compiler:c11 gmake pathfix pkgconfig
14
PATHFIX_MAKEFILEIN=	Makefile
14
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
15
LIBDIR=		${PREFIX}/lib
16
LIBDIR=		${PREFIX}/lib
16
MAKE_ENV+=	SFLAGS=${STRIP}
17
MAKE_ENV+=	SFLAGS=${STRIP}
Lines 20-29 OPTIONS_DEFINE= NLS Link Here
20
OPTIONS_SUB=	yes
21
OPTIONS_SUB=	yes
21
NLS_USES=	gettext
22
NLS_USES=	gettext
22
23
23
post-patch:	.SILENT
24
	${REINPLACE_CMD} -e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g'\
25
		${WRKSRC}/Makefile
26
27
post-patch-NLS-off: .SILENT
24
post-patch-NLS-off: .SILENT
28
	${REINPLACE_CMD} -e '/-C po/d'\
25
	${REINPLACE_CMD} -e '/-C po/d'\
29
		${WRKSRC}/Makefile
26
		${WRKSRC}/Makefile
(-)x11-wm/muffin/Makefile (-1 lines)
Lines 31-37 GNU_CONFIGURE= yes Link Here
31
CPPFLAGS+=	-I${LOCALBASE}/include -Wno-error=unused-function
31
CPPFLAGS+=	-I${LOCALBASE}/include -Wno-error=unused-function
32
CFLAGS+=	-I${LOCALBASE}/include -Wno-error=unused-function
32
CFLAGS+=	-I${LOCALBASE}/include -Wno-error=unused-function
33
LDFLAGS+=	-L${LOCALBASE}/lib
33
LDFLAGS+=	-L${LOCALBASE}/lib
34
PATHFIX_MAKEFILEIN=	Makefile.am
35
CONFIGURE_ENV=	LIBS="-lexecinfo"
34
CONFIGURE_ENV=	LIBS="-lexecinfo"
36
CONFIGURE_ARGS=	--enable-compile-warnings=maximum
35
CONFIGURE_ARGS=	--enable-compile-warnings=maximum
37
MAKE_ARGS=	V=1
36
MAKE_ARGS=	V=1
(-)x11/cinnamon-desktop/Makefile (-1 lines)
Lines 26-32 SHEBANG_FILES= files/usr/bin/cinnamon-desktop-migrate-mediakeys Link Here
26
python_OLD_CMD=	/usr/bin/python2
26
python_OLD_CMD=	/usr/bin/python2
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
29
PATHFIX_MAKEFILEIN=	Makefile.am
30
CONFIGURE_ARGS=	--with-gnome-distributor="FreeBSD GNOME Project"
29
CONFIGURE_ARGS=	--with-gnome-distributor="FreeBSD GNOME Project"
31
CPPFLAGS+=	-I${LOCALBASE}/include
30
CPPFLAGS+=	-I${LOCALBASE}/include
32
LDFLAGS+=	-L${LOCALBASE}/lib
31
LDFLAGS+=	-L${LOCALBASE}/lib
(-)x11/cinnamon-menus/Makefile (-1 lines)
Lines 22-28 USE_GITHUB= yes Link Here
22
GH_ACCOUNT=	linuxmint
22
GH_ACCOUNT=	linuxmint
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
PATHFIX_MAKEFILEIN=	Makefile.am
26
CPPFLAGS+=	-I${LOCALBASE}/include
25
CPPFLAGS+=	-I${LOCALBASE}/include
27
LDFLAGS+=	-L${LOCALBASE}/lib
26
LDFLAGS+=	-L${LOCALBASE}/lib
28
INSTALL_TARGET=	install-strip
27
INSTALL_TARGET=	install-strip
(-)x11/cinnamon-screensaver/Makefile (-1 lines)
Lines 24-30 GH_ACCOUNT= linuxmint Link Here
24
USE_XORG=	x11 xext xxf86vm xxf86misc xscrnsaver
24
USE_XORG=	x11 xext xxf86vm xxf86misc xscrnsaver
25
USE_GNOME=	gnomedesktop3 gnomeprefix intlhack intlhack libgnomekbd libxml2
25
USE_GNOME=	gnomedesktop3 gnomeprefix intlhack intlhack libgnomekbd libxml2
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
PATHFIX_MAKEFILEIN=	Makefile.am
28
CPPFLAGS+=	-I${LOCALBASE}/include
27
CPPFLAGS+=	-I${LOCALBASE}/include
29
CFLAGS=		-I${LOCALBASE}/include -Wno-error=format-nonliteral
28
CFLAGS=		-I${LOCALBASE}/include -Wno-error=format-nonliteral
30
LDFLAGS+=	-L${LOCALBASE}/lib
29
LDFLAGS+=	-L${LOCALBASE}/lib
(-)x11/cinnamon-session/Makefile (-1 lines)
Lines 27-33 USE_XORG= ice sm xau xext xtst xrender xtrans xcomposite Link Here
27
USE_GL=		gl
27
USE_GL=		gl
28
INSTALLS_ICONS=	yes
28
INSTALLS_ICONS=	yes
29
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
30
PATHFIX_MAKEFILEIN=	Makefile.am
31
CONFIGURE_ARGS=	--disable-docbook-docs
30
CONFIGURE_ARGS=	--disable-docbook-docs
32
CPPFLAGS+=	-I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
31
CPPFLAGS+=	-I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
33
CFLAGS+=	-I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
32
CFLAGS+=	-I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
(-)x11/keybinder-gtk3/Makefile (-1 lines)
Lines 18-24 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	engla
18
GH_ACCOUNT=	engla
19
19
20
USES=		autoreconf gmake libtool pathfix pkgconfig
20
USES=		autoreconf gmake libtool pathfix pkgconfig
21
PATHFIX_MAKEFILEIN=	Makefile.am
22
USE_GNOME=	gtk30 introspection:build
21
USE_GNOME=	gtk30 introspection:build
23
USE_XORG=	x11 xext xrender
22
USE_XORG=	x11 xext xrender
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
(-)x11/keybinder/Makefile (-1 lines)
Lines 17-23 USE_GITHUB= yes Link Here
17
GH_ACCOUNT=	engla
17
GH_ACCOUNT=	engla
18
18
19
USES=		autoreconf gmake libtool pathfix pkgconfig
19
USES=		autoreconf gmake libtool pathfix pkgconfig
20
PATHFIX_MAKEFILEIN=	Makefile.am
21
USE_GNOME=	gtk20 introspection:build
20
USE_GNOME=	gtk20 introspection:build
22
USE_XORG=	x11 xext xrender
21
USE_XORG=	x11 xext xrender
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
(-)x11/libSM/Makefile (+1 lines)
Lines 12-17 COMMENT= Session Management library for X11 Link Here
12
12
13
LICENSE=	MIT
13
LICENSE=	MIT
14
14
15
USES=		pathfix
15
XORG_CAT=	lib
16
XORG_CAT=	lib
16
USE_XORG=	ice xproto:both xtrans
17
USE_XORG=	ice xproto:both xtrans
17
18
(-)x11/libSM/files/patch-Makefile.am (-10 lines)
Removed Link Here
1
--- ./Makefile.am.orig	2009-02-23 19:42:34.000000000 +0300
2
+++ ./Makefile.am	2009-02-23 19:43:19.000000000 +0300
3
@@ -1,6 +1,6 @@
4
 SUBDIRS=src
5
 
6
-pkgconfigdir = $(libdir)/pkgconfig
7
+pkgconfigdir = $(prefix)/libdata/pkgconfig
8
 pkgconfig_DATA = sm.pc
9
 
10
 EXTRA_DIST=sm.pc.in

Return to bug 213195