- Update to 2.7
PR: ports/86209, ports/88431 Submitted by: Armin Gruner <ag-freebsd@space.net>, Andrew Pantyukhin <sat@proxy.gubkin.ru> Approved by: maintainer timeout (anders; 2 months)
This commit is contained in:
@@ -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 @@ ONLY_FOR_ARCHS= i386 amd64 ia64
|
||||
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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,31 +1,36 @@
|
||||
--- 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 20:22:35 2005
|
||||
+++ Makefile Fri Nov 25 20:31:58 2005
|
||||
@@ -8,25 +8,25 @@
|
||||
# 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+= ${CPPFLAGS}
|
||||
#CFLAGS += -DBIGENDIAN
|
||||
#CFLAGS += -DALIGNMENT_WORKAROUND
|
||||
|
||||
@@ -19,12 +19,11 @@
|
||||
# When debugging, disable -O2 and enable -g.
|
||||
-CFLAGS += -O2
|
||||
+#CFLAGS += -O2
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user