View | Details | Raw Unified | Return to bug 91213
Collapse All | Expand All

(-)Makefile (-2 / +6 lines)
Lines 8-13 Link Here
8
8
9
PORTNAME=	pkgconfig
9
PORTNAME=	pkgconfig
10
PORTVERSION=	0.20
10
PORTVERSION=	0.20
11
PORTREVISION=	1
11
CATEGORIES=	devel
12
CATEGORIES=	devel
12
MASTER_SITES=	http://pkgconfig.freedesktop.org/releases/
13
MASTER_SITES=	http://pkgconfig.freedesktop.org/releases/
13
DISTNAME=	pkg-config-${PORTVERSION}
14
DISTNAME=	pkg-config-${PORTVERSION}
Lines 25-36 Link Here
25
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
26
27
27
PC_PATH=${PREFIX}/libdata/pkgconfig
28
PC_PATH=${PREFIX}/libdata/pkgconfig
29
PC_PATH=${PREFIX}/lib/pkgconfig
28
.if ${LOCALBASE} != ${PREFIX}
30
.if ${LOCALBASE} != ${PREFIX}
29
PC_PATH:=	${PC_PATH}:${LOCALBASE}/libdata/pkgconfig
31
PC_PATH:=	${PC_PATH}:${LOCALBASE}/libdata/pkgconfig
30
.endif 
32
PC_PATH:=	${PC_PATH}:${LOCALBASE}/lib/pkgconfig
33
.endif
31
.if ${X11BASE} != ${PREFIX}
34
.if ${X11BASE} != ${PREFIX}
32
PC_PATH:=	${PC_PATH}:${X11BASE}/libdata/pkgconfig
35
PC_PATH:=	${PC_PATH}:${X11BASE}/libdata/pkgconfig
33
.endif 
36
PC_PATH:=	${PC_PATH}:${X11BASE}/lib/pkgconfig
37
.endif
34
38
35
CONFIGURE_ARGS=	--disable-threads \
39
CONFIGURE_ARGS=	--disable-threads \
36
		--with-pc-path="${PC_PATH}"
40
		--with-pc-path="${PC_PATH}"
(-)pkg-descr (-3 / +5 lines)
Lines 6-13 Link Here
6
pkg-config retrieves information about packages from special metadata files.
6
pkg-config retrieves information about packages from special metadata files.
7
These files are named after the package, with the extension .pc. By default,
7
These files are named after the package, with the extension .pc. By default,
8
pkg-config looks for these files in the following directories:
8
pkg-config looks for these files in the following directories:
9
${PREFIX}/libdata/pkgconfig, ${LOCALBASE}/libdata/pkgconfig and
9
${PREFIX}/libdata/pkgconfig, ${PREFIX}/lib/pkgconfig,
10
${X11BASE}/libdata/pkgconfig; it will also look in the list of directories
10
${LOCALBASE}/libdata/pkgconfig, ${LOCALBASE}/lib/pkgconfig,
11
specified by the PKG_CONFIG_PATH environment variable.
11
${X11BASE}/libdata/pkgconfig, and ${X11BASE}/lib/pkgconfig; it will also look in
12
in the list of directories specified by the PKG_CONFIG_PATH environment
13
variable.  It alo
12
14
13
WWW: http://pkgconfig.freedesktop.org/wiki/
15
WWW: http://pkgconfig.freedesktop.org/wiki/

Return to bug 91213