diff options
author | zeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09> | 2012-07-26 17:33:34 +0800 |
---|---|---|
committer | zeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09> | 2012-07-26 17:33:34 +0800 |
commit | f983024626bbd4de6bc6948e21906ff7100e1169 (patch) | |
tree | c6e90923e9dfdd5cbf36e98f71c969c3ab787e16 | |
parent | b3282b28b40c8bb87608ad7c14c61df865583438 (diff) | |
download | xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.tar xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.tar.gz xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.tar.bz2 xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.tar.lz xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.tar.xz xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.tar.zst xorg-devel-ports-f983024626bbd4de6bc6948e21906ff7100e1169.zip |
Sync with ports
git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@540 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r-- | Mk/bsd.port.mk | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 1fe3be0..c33e3fd 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- tab-width: 4; -*- # ex:ts=4 # -# $FreeBSD: head/Mk/bsd.port.mk 301014 2012-07-17 16:20:06Z bapt $ +# $FreeBSD: head/Mk/bsd.port.mk 301539 2012-07-26 05:40:22Z bapt $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -530,6 +530,10 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org # # USE_NCURSES - If set, this port relies on the ncurses package. # +# USE_PKGCONFIG - Implies that the port uses pkg-config in one way or another: +# 'build', 'run', 'both', implying build, +# runtime, and both build/run dependencies +# # Conflict checking. Use if your port cannot be installed at the same time as # another package. # @@ -1639,6 +1643,23 @@ EXTRACT_DEPENDS+= unmakeself:${PORTSDIR}/archivers/unmakeself BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake CONFIGURE_ENV+= MAKE=${GMAKE} .endif +.if defined(USE_PKGCONFIG) +.if ${USE_PKGCONFIG:L} == yes +USE_PKGCONFIG= build +.endif +.if ${USE_PKGCONFIG:L} == run +RUN_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf +.endif +.if ${USE_PKGCONFIG:L} == build +BUILD_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf +CONFIGURE_ENV+= PKG_CONFIG=pkgconf +.endif +.if ${USE_PKGCONFIG:L} == both +RUN_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf +BUILD_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf +CONFIGURE_ENV+= PKG_CONFIG=pkgconf +.endif +.endif .if defined(USE_GCC) || defined(USE_FORTRAN) .include "${PORTSDIR}/Mk/bsd.gcc.mk" |