diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-05 01:48:42 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-05 01:48:42 +0800 |
commit | 18474392407bcf91cb7d6f10f08b9c225ccfe1d4 (patch) | |
tree | 271a4ba16d97b64314fcbbd9b1fc31b28983663a /x11 | |
parent | ad750eda588eae71526df0e9df02125777dd9a80 (diff) | |
download | marcuscom-ports-18474392407bcf91cb7d6f10f08b9c225ccfe1d4.tar.gz marcuscom-ports-18474392407bcf91cb7d6f10f08b9c225ccfe1d4.tar.zst marcuscom-ports-18474392407bcf91cb7d6f10f08b9c225ccfe1d4.zip |
Take into account that lzma is in base on recent 9-current and 8-stable
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14169 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/yelp/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile index a4de87df8..a3a6b27e3 100644 --- a/x11/yelp/Makefile +++ b/x11/yelp/Makefile @@ -3,7 +3,7 @@ # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/yelp/Makefile,v 1.156 2010/05/29 19:52:57 kwm Exp $ +# $MCom: ports/x11/yelp/Makefile,v 1.157 2010/05/29 20:03:48 kwm Exp $ # PORTNAME= yelp @@ -17,7 +17,6 @@ COMMENT= A help browser for the GNOME 2 desktop BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/yelp-xsl.pc:${PORTSDIR}/x11/yelp-xsl LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ - lzma.0:${PORTSDIR}/archivers/xz \ webkit-1.0.13:${PORTSDIR}/www/webkit-gtk2 RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/yelp-xsl.pc:${PORTSDIR}/x11/yelp-xsl @@ -43,6 +42,13 @@ GLIB_SCHEMAS= org.gnome.yelp.gschema.xml LDFLAGS+= -fstack-protector .endif +.if ${OSVERSION} >= 900012 || (${OSVERSION} >= 800505 && ${OSVERSION} < 900000) +CONFIGURE_ENV+= YELP_LZMA_CFLAGS="/usr/include" \ + YELP_LZMA_LIBS="/usr/lib" +.else +LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz +.endif + pre-install: @${INSTALL_DATA} ${WRKSRC}/data/org.gnome.yelp.gschema.xml \ ${PREFIX}/share/glib-2.0/schemas |