diff -urN /usr/ports/sysutils/dmidecode/Makefile dmidecode/Makefile --- /usr/ports/sysutils/dmidecode/Makefile Mon Mar 21 00:24:32 2005 +++ dmidecode/Makefile Thu Nov 3 06:56:38 2005 @@ -6,7 +6,7 @@ # PORTNAME= dmidecode -PORTVERSION= 2.6 +PORTVERSION= 2.7 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ ftp://ftp.nuug.no/pub/anders/distfiles/ @@ -20,7 +20,7 @@ USE_BZIP2= yes USE_REINPLACE= yes USE_GETOPT_LONG= yes -MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DOCSDIR="${DOCSDIR}" PORTDOCS= AUTHORS CHANGELOG README diff -urN /usr/ports/sysutils/dmidecode/distinfo dmidecode/distinfo --- /usr/ports/sysutils/dmidecode/distinfo Wed Mar 16 23:46:20 2005 +++ dmidecode/distinfo Thu Nov 3 04:41:51 2005 @@ -1,2 +1,2 @@ -MD5 (dmidecode-2.6.tar.bz2) = 16a31f6e70f6f1de864105c633e1a4c0 -SIZE (dmidecode-2.6.tar.bz2) = 40215 +MD5 (dmidecode-2.7.tar.bz2) = 7aaf44ff2501cafc33634bbaa0d2af13 +SIZE (dmidecode-2.7.tar.bz2) = 44749 diff -urN /usr/ports/sysutils/dmidecode/files/patch-Makefile dmidecode/files/patch-Makefile --- /usr/ports/sysutils/dmidecode/files/patch-Makefile Mon Mar 21 00:24:32 2005 +++ dmidecode/files/patch-Makefile Thu Nov 3 07:05:58 2005 @@ -1,31 +1,33 @@ ---- Makefile.orig Mon Feb 28 21:43:00 2005 -+++ Makefile Sun Mar 20 22:16:32 2005 -@@ -8,9 +8,9 @@ +--- Makefile.orig Wed Jun 15 22:22:35 2005 ++++ Makefile Thu Nov 3 07:05:13 2005 +@@ -8,9 +8,8 @@ # Licensed under the GNU Public License. # -CC = gcc -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -- -Wcast-align -Wwrite-strings -Wmissing-prototypes -+CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -+ -Wcast-align -Wwrite-strings -Wmissing-prototypes ${CPPFLAGS} \ -+ -DHAVE_DECL_GETOPT +- -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline ++CFLAGS+= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ ++ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline #CFLAGS += -DBIGENDIAN #CFLAGS += -DALIGNMENT_WORKAROUND -@@ -19,12 +19,11 @@ +@@ -19,14 +18,14 @@ #CFLAGS += -g # Pass linker flags here -LDFLAGS = -+LDFLAGS += ++LDFLAGS+= DESTDIR = -prefix = /usr/local --sbindir = $(prefix)/sbin --mandir = $(prefix)/man -+sbindir = $(PREFIX)/sbin -+mandir = $(PREFIX)/man ++prefix = $(PREFIX) + sbindir = $(prefix)/sbin +-mandir = $(prefix)/share/man ++mandir = $(MANPREFIX)/man man8dir = $(mandir)/man8 +-docdir = $(prefix)/share/doc/dmidecode ++docdir = $(DOCSDIR) - all : dmidecode biosdecode ownership vpddecode + INSTALL := install + INSTALL_DATA := $(INSTALL) -m 644