diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-10-10 07:26:51 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-10-10 07:26:51 +0000 |
commit | 9f43ab1dd812b4f275f24181649737b69659cf85 (patch) | |
tree | 6122ba26d35664d175c17d9416598df82789fa52 /devel/gmake381 | |
parent | 944f5449af94113e8605b03133b7299f966edc9b (diff) | |
download | ports-9f43ab1dd812b4f275f24181649737b69659cf85.tar.gz ports-9f43ab1dd812b4f275f24181649737b69659cf85.zip |
Notes
Diffstat (limited to 'devel/gmake381')
-rw-r--r-- | devel/gmake381/Makefile | 19 | ||||
-rw-r--r-- | devel/gmake381/files/patch-aa | 11 | ||||
-rw-r--r-- | devel/gmake381/pkg-plist | 35 |
3 files changed, 30 insertions, 35 deletions
diff --git a/devel/gmake381/Makefile b/devel/gmake381/Makefile index 120da05987d2..ba7a1cdc6692 100644 --- a/devel/gmake381/Makefile +++ b/devel/gmake381/Makefile @@ -14,14 +14,23 @@ DISTNAME= make-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext +.if !defined(WITHOUT_NLS) +LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext +.endif USE_BZIP2= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --program-prefix=g \ - --with-included-gettext -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LOCALE_H -DHAVE_LC_MESSAGES" \ - LDFLAGS="-L${LOCALBASE}/lib" MAKEINFO="/usr/bin/makeinfo" +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS+=--program-prefix=g +.if !defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \ + --with-libintl-prefix=${LOCALBASE} +PLIST_SUB= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB= NLS="@comment " +.endif +CONFIGURE_ENV+= MAKEINFO="/usr/bin/makeinfo --no-split" MAN1= gmake.1 diff --git a/devel/gmake381/files/patch-aa b/devel/gmake381/files/patch-aa deleted file mode 100644 index b037a724fb6a..000000000000 --- a/devel/gmake381/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/Makefile.in.orig Mon Oct 7 23:09:23 2002 -+++ doc/Makefile.in Mon Oct 7 23:09:31 2002 -@@ -76,7 +76,7 @@ - LTLIBICONV = @LTLIBICONV@ - LTLIBINTL = @LTLIBINTL@ - LTLIBOBJS = @LTLIBOBJS@ --MAKEINFO = @MAKEINFO@ -+MAKEINFO = @MAKEINFO@ --no-split - MAKE_HOST = @MAKE_HOST@ - MKINSTALLDIRS = @MKINSTALLDIRS@ - MSGFMT = @MSGFMT@ diff --git a/devel/gmake381/pkg-plist b/devel/gmake381/pkg-plist index 2a2b0baa601a..27a78e0fccb1 100644 --- a/devel/gmake381/pkg-plist +++ b/devel/gmake381/pkg-plist @@ -2,22 +2,19 @@ bin/gmake @unexec install-info --delete %D/info/make.info %D/info/dir info/make.info @exec install-info %D/info/make.info %D/info/dir -share/locale/da/LC_MESSAGES/make.mo -share/locale/de/LC_MESSAGES/make.mo -share/locale/es/LC_MESSAGES/make.mo -share/locale/fr/LC_MESSAGES/make.mo -share/locale/gl/LC_MESSAGES/make.mo -share/locale/he/LC_MESSAGES/make.mo -share/locale/hr/LC_MESSAGES/make.mo -share/locale/ja/LC_MESSAGES/make.mo -share/locale/ko/LC_MESSAGES/make.mo -share/locale/nl/LC_MESSAGES/make.mo -share/locale/pl/LC_MESSAGES/make.mo -share/locale/pt_BR/LC_MESSAGES/make.mo -share/locale/ru/LC_MESSAGES/make.mo -share/locale/sv/LC_MESSAGES/make.mo -share/locale/tr/LC_MESSAGES/make.mo -share/locale/zh_CN/LC_MESSAGES/make.mo -@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/* 2>/dev/null || true -@unexec rmdir %D/share/locale 2>/dev/null || true +%%NLS%%share/locale/da/LC_MESSAGES/make.mo +%%NLS%%share/locale/de/LC_MESSAGES/make.mo +%%NLS%%share/locale/es/LC_MESSAGES/make.mo +%%NLS%%share/locale/fr/LC_MESSAGES/make.mo +%%NLS%%share/locale/gl/LC_MESSAGES/make.mo +%%NLS%%share/locale/he/LC_MESSAGES/make.mo +%%NLS%%share/locale/hr/LC_MESSAGES/make.mo +%%NLS%%share/locale/ja/LC_MESSAGES/make.mo +%%NLS%%share/locale/ko/LC_MESSAGES/make.mo +%%NLS%%share/locale/nl/LC_MESSAGES/make.mo +%%NLS%%share/locale/pl/LC_MESSAGES/make.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/make.mo +%%NLS%%share/locale/ru/LC_MESSAGES/make.mo +%%NLS%%share/locale/sv/LC_MESSAGES/make.mo +%%NLS%%share/locale/tr/LC_MESSAGES/make.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/make.mo |