summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-03-27 15:39:38 +0000
committerjschauma <jschauma@pkgsrc.org>2003-03-27 15:39:38 +0000
commitf0c026d2f4d42373e4259d5d1a397517458bcbe0 (patch)
tree1f810812c74f75fd4f1cddb9c197b37b151dcb7c /devel
parent43a064a2d40de86039b0c969b36131c164936af1 (diff)
downloadpkgsrc-f0c026d2f4d42373e4259d5d1a397517458bcbe0.tar.gz
Make this install using the correct major under Irix. Oddly, libtool determines
the right version for most other packages (AFAICT), but this package seems to be different.
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext-lib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gettext-lib/Makefile b/devel/gettext-lib/Makefile
index 1d2664edba9..bd17f18fb26 100644
--- a/devel/gettext-lib/Makefile
+++ b/devel/gettext-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2003/03/22 11:35:44 jmmv Exp $
+# $NetBSD: Makefile,v 1.20 2003/03/27 15:39:38 jschauma Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp
#
@@ -17,6 +17,7 @@ CONFLICTS= gettext<=0.10.35
USE_BUILDLINK2= # defined
USE_LIBTOOL= # defined
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGSRC_GETTEXTLIB_AGE= 2
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-included-gettext
@@ -25,6 +26,7 @@ CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+MAKE_ENV+= PKGSRC_GETTEXTLIB_AGE="${PKGSRC_GETTEXTLIB_AGE}"
ALL_TARGET= all-yes
INSTALL_TARGET= install-exec
@@ -36,5 +38,9 @@ BUILD_DIRS= ${WRKSRC}/intl
CPPFLAGS+= -D_INTL_REDIRECT_MACROS=1
.endif
+.if ${OPSYS} == "IRIX"
+PKGSRC_GETTEXTLIB_AGE= 0
+.endif
+
.include "../../converters/libiconv/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"