FreeBSD Bugzilla – Attachment 52140 Details for
Bug 79039
[PATCH] sysutils/dmidecode: fix build for FreeBSD 4.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dmidecode-2.6.patch
dmidecode-2.6.patch (text/plain), 1.60 KB, created by
Tod McQuillin
on 2005-03-20 05:00:13 UTC
(
hide
)
Description:
dmidecode-2.6.patch
Filename:
MIME Type:
Creator:
Tod McQuillin
Created:
2005-03-20 05:00:13 UTC
Size:
1.60 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /usr/src/cvs-repo/ports/sysutils/dmidecode/Makefile,v >retrieving revision 1.5 >diff -u -u -r1.5 Makefile >--- Makefile 16 Mar 2005 20:46:20 -0000 1.5 >+++ Makefile 20 Mar 2005 04:43:14 -0000 >@@ -19,14 +19,13 @@ > > USE_BZIP2= yes > USE_REINPLACE= yes >+USE_GETOPT_LONG=yes >+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" > > DOCS= AUTHORS CHANGELOG README > > MAN8= biosdecode.8 dmidecode.8 ownership.8 vpddecode.8 > >-post-patch: >- ${REINPLACE_CMD} -e "s@^(CC|PREFIX).*@@" ${WRKSRC}/Makefile >- > .if !defined(NOPORTDOCS) > post-install: > ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} >Index: files/patch-Makefile >=================================================================== >RCS file: files/patch-Makefile >diff -N files/patch-Makefile >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-Makefile 20 Mar 2005 04:49:20 -0000 >@@ -0,0 +1,27 @@ >+--- Makefile- Sun Mar 20 13:48:58 2005 >++++ Makefile Sun Mar 20 13:49:09 2005 >+@@ -8,9 +8,9 @@ >+ # Licensed under the GNU Public License. >+ # >+ >+-CC = gcc >++CC ?= gcc >+ CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ >+- -Wcast-align -Wwrite-strings -Wmissing-prototypes >++ -Wcast-align -Wwrite-strings -Wmissing-prototypes ${CPPFLAGS} >+ #CFLAGS += -DBIGENDIAN >+ #CFLAGS += -DALIGNMENT_WORKAROUND >+ >+@@ -19,10 +19,10 @@ >+ #CFLAGS += -g >+ >+ # Pass linker flags here >+-LDFLAGS = >++LDFLAGS ?= >+ >+ DESTDIR = >+-prefix = /usr/local >++prefix = ${PREFIX} >+ sbindir = $(prefix)/sbin >+ mandir = $(prefix)/man >+ man8dir = $(mandir)/man8
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 79039
: 52140