1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Introduce a heavily stripped-down GNU make 3.81 after repocopy.

1.  Only the binary is installed (as bin/gmake381), without NLS
2.  It's not attached to the build (devel/Makefile)
3.  It's currently marked IGNORE

(2) and (3) should be enormous hints that this port is _NOT_ to be used
outside of the coming infrastructure changes that will bring in 3.82 in
all its shiny backwards-incompatible finest.
This commit is contained in:
Ade Lovett 2011-03-10 17:23:14 +00:00
parent c909828084
commit 19081bb7fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270618
4 changed files with 7 additions and 68 deletions

View File

@ -5,48 +5,28 @@
# $FreeBSD$
#
PORTNAME= gmake
PORTNAME= gmake381
PORTVERSION= 3.81
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= make
DISTNAME= make-${PORTVERSION}
# note: before committing to this port, contact portmgr to arrange for an
# experimental ports run. Untested commits may be backed out at portmgr's
# discretion.
MAINTAINER= autotools@FreeBSD.org
COMMENT= GNU version of 'make' utility
COMMENT= GNU version of 'make' utility (3.81 legacy version)
IGNORE= Internal infrastructure usage only. Do _not_ use directly.
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--program-prefix=g
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
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="makeinfo --no-split"
MAN1= gmake.1
INFO= make
PLIST_FILES= bin/gmake381
.ifdef USE_GMAKE
.error You have `USE_GMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
post-patch:
@${RM} ${WRKSRC}/doc/make.info*
# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem
post-install:
@${CHMOD} g-s ${PREFIX}/bin/gmake
@chgrp ${BINGRP} ${PREFIX}/bin/gmake
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/make ${PREFIX}/bin/gmake381
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
MD5 (make-3.81.tar.bz2) = 354853e0b2da90c527e35aabb8d6f1e6
SHA256 (make-3.81.tar.bz2) = f3e69023771e23908f5d5592954d8271d3d6af09693cecfd29cee6fde8550dc8
SIZE (make-3.81.tar.bz2) = 1151445

View File

@ -1,14 +0,0 @@
--- doc/make.texi.orig Mon Oct 7 22:57:59 2002
+++ doc/make.texi Mon Oct 7 22:58:03 2002
@@ -25,9 +25,9 @@
@c Combine the program and concept indices:
@syncodeindex pg cp
-@dircategory GNU Packages
+@dircategory Programming & development tools
@direntry
-* Make: (make). Remake files automatically.
+* GNU make: (make). Remake files automatically.
@end direntry
@ifinfo

View File

@ -1,26 +0,0 @@
bin/gmake
%%NLS%%share/locale/be/LC_MESSAGES/make.mo
%%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/fi/LC_MESSAGES/make.mo
%%NLS%%share/locale/fr/LC_MESSAGES/make.mo
%%NLS%%share/locale/ga/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/id/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/rw/LC_MESSAGES/make.mo
%%NLS%%share/locale/sv/LC_MESSAGES/make.mo
%%NLS%%share/locale/tr/LC_MESSAGES/make.mo
%%NLS%%share/locale/uk/LC_MESSAGES/make.mo
%%NLS%%share/locale/vi/LC_MESSAGES/make.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/make.mo
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/rw