diff options
author | eik <eik@FreeBSD.org> | 2004-10-19 16:09:14 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-10-19 16:09:14 +0000 |
commit | e1d5de0388729ff56c82b1572d802eca8a3c8123 (patch) | |
tree | 472f7ae611ea83acd4f892fd02df5c58ef49c3c5 /devel/gettext/Makefile | |
parent | 2bcd0b6cd100d712e606fb8987b06f8c6eb6b1e9 (diff) | |
download | FreeBSD-ports-e1d5de0388729ff56c82b1572d802eca8a3c8123.zip FreeBSD-ports-e1d5de0388729ff56c82b1572d802eca8a3c8123.tar.gz |
- eliminate dependency on libexpat on >= 5.0
<http://lists.freebsd.org/pipermail/freebsd-ports/2004-October/016796.html>
Reviewed by: ports@
Diffstat (limited to 'devel/gettext/Makefile')
-rw-r--r-- | devel/gettext/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index 3b4419f..57c59ba 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -15,8 +15,6 @@ MASTER_SITE_SUBDIR= gettext MAINTAINER= ports@FreeBSD.org COMMENT= GNU gettext package -LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 - GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} USE_ICONV= yes @@ -27,8 +25,7 @@ CONFIGURE_ENV= ACLOCAL="${TRUE}" \ MAKEINFO="makeinfo --no-split" \ CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --with-libexpat-prefix=${LOCALBASE}/lib \ - --mandir=${PREFIX}/man +CONFIGURE_ARGS= --mandir=${PREFIX}/man INSTALLS_SHLIB= yes .if !defined(WITHOUT_GETTEXT_OPTIONS) @@ -59,6 +56,11 @@ INFO= autosprintf gettext .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 +CONFIGURE_ARGS+= --with-libexpat-prefix=${LOCALBASE}/lib +LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2 +.endif + pre-extract: .if exists(${PREFIX}/bin/kaffe) @${ECHO_MSG} "Gettext won't build with Kaffe's jar utility. Doing:" |