aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-05-18 14:51:01 +0800
committersem <sem@FreeBSD.org>2005-05-18 14:51:01 +0800
commit12d0a452594d43fd6f81337e8d3bc0206edb4ca4 (patch)
tree936a19eef79a41654bbf14645df00d2e294909e7 /sysutils
parent1e597f094fb672c130c86ee2e7840ceb6c378485 (diff)
downloadfreebsd-ports-gnome-12d0a452594d43fd6f81337e8d3bc0206edb4ca4.tar.gz
freebsd-ports-gnome-12d0a452594d43fd6f81337e8d3bc0206edb4ca4.tar.zst
freebsd-ports-gnome-12d0a452594d43fd6f81337e8d3bc0206edb4ca4.zip
- Update to 0.97
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/grub/Makefile7
-rw-r--r--sysutils/grub/distinfo4
-rw-r--r--sysutils/grub/files/patch-grub-install4
-rw-r--r--sysutils/grub/files/patch-stage2::ufs2.h17
4 files changed, 9 insertions, 23 deletions
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile
index 633406fa4166..e7f555bc8644 100644
--- a/sysutils/grub/Makefile
+++ b/sysutils/grub/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= grub
-PORTVERSION= 0.95
+PORTVERSION= 0.97
CATEGORIES= sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
@@ -18,6 +18,7 @@ USE_AUTOCONF_VER= 259
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-freebsd-freebsd${OSREL}
+CONFIGURE_ARGS+= --libdir=${PREFIX}/share
ONLY_FOR_ARCHS= i386
GRUB_DIR= ${DATADIR:C|^${PREFIX}/||}/i386-freebsd
@@ -27,7 +28,9 @@ MAN8= grub.8 grub-install.8 grub-md5-crypt.8 grub-terminfo.8
INFO= grub multiboot
PLIST_DIRS= ${GRUB_DIR} ${DATADIR:C|^${PREFIX}/||}
PLIST_FILES= bin/mbchk sbin/grub sbin/grub-install sbin/grub-md5-crypt \
- sbin/grub-terminfo ${GRUB_DIR}/stage1 ${GRUB_DIR}/stage2
+ sbin/grub-terminfo sbin/grub-set-default \
+ ${GRUB_DIR}/stage1 ${GRUB_DIR}/stage2
+
.for f in e2fs fat ffs iso9660 jfs minix reiserfs ufs2 vstafs xfs
PLIST_FILES+= ${GRUB_DIR}/${f}_stage1_5
.endfor
diff --git a/sysutils/grub/distinfo b/sysutils/grub/distinfo
index 3eaa1efb050d..a7f664a40a53 100644
--- a/sysutils/grub/distinfo
+++ b/sysutils/grub/distinfo
@@ -1,2 +1,2 @@
-MD5 (grub-0.95.tar.gz) = 4ca8e4363d5f1980f2c63b7f5cdbe0d1
-SIZE (grub-0.95.tar.gz) = 976017
+MD5 (grub-0.97.tar.gz) = cd3f3eb54446be6003156158d51f4884
+SIZE (grub-0.97.tar.gz) = 971783
diff --git a/sysutils/grub/files/patch-grub-install b/sysutils/grub/files/patch-grub-install
index 63a2748af3e8..c08135f40826 100644
--- a/sysutils/grub/files/patch-grub-install
+++ b/sysutils/grub/files/patch-grub-install
@@ -4,8 +4,8 @@
gnu*)
tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`
tmp_part=`echo "$1" | sed "s%$tmp_disk%%"` ;;
-- freebsd*)
-+ freebsd[234]*)
+- freebsd* | kfreebsd*-gnu)
++ freebsd[234]* | kfreebsd*-gnu)
tmp_disk=`echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' \
| sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%'`
+ tmp_part=`echo "$1" \
diff --git a/sysutils/grub/files/patch-stage2::ufs2.h b/sysutils/grub/files/patch-stage2::ufs2.h
deleted file mode 100644
index b0193f32331f..000000000000
--- a/sysutils/grub/files/patch-stage2::ufs2.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- stage2/ufs2.h.orig Tue Jun 15 09:22:12 2004
-+++ stage2/ufs2.h Tue Jun 15 09:28:20 2004
-@@ -68,12 +68,12 @@
- * __uint* constants already defined in
- * FreeBSD's /usr/include/machine/_types.h
- */
--#ifndef _MACHINE__TYPES_H_
-+#if !defined(_MACHINE__TYPES_H_) && !defined(_MACHINE_ANSI_H_)
- typedef uint8_t __uint8_t;
- typedef uint16_t __uint16_t;
- typedef uint32_t __uint32_t;
- typedef uint64_t __uint64_t;
--#endif /* _MACHINE__TYPES_H_ */
-+#endif /* !_MACHINE__TYPES_H_ && !_MACHINE_ANSI_H_ */
-
- #define i_size di_size
-