View | Details | Raw Unified | Return to bug 86209
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	dmidecode
8
PORTNAME=	dmidecode
9
PORTVERSION=	2.6
9
PORTVERSION=	2.7
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
11
MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
12
		ftp://ftp.nuug.no/pub/anders/distfiles/
12
		ftp://ftp.nuug.no/pub/anders/distfiles/
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (dmidecode-2.6.tar.bz2) = 16a31f6e70f6f1de864105c633e1a4c0
1
MD5 (dmidecode-2.7.tar.bz2) = 7aaf44ff2501cafc33634bbaa0d2af13
2
SIZE (dmidecode-2.6.tar.bz2) = 40215
2
SIZE (dmidecode-2.7.tar.bz2) = 44749
(-)files/patch-Makefile (-31 / +50 lines)
Lines 1-31 Link Here
1
--- Makefile.orig	Mon Feb 28 21:43:00 2005
1
*** Makefile.orig	Wed Jun 15 20:22:35 2005
2
+++ Makefile	Sun Mar 20 22:16:32 2005
2
--- Makefile	Fri Sep 16 13:27:56 2005
3
@@ -8,9 +8,9 @@
3
***************
4
 #	Licensed under the GNU Public License.
4
*** 10,16 ****
5
 #
5
  
6
 
6
  CC      = gcc
7
-CC      = gcc
7
  CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
8
-CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
8
!           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline
9
-          -Wcast-align -Wwrite-strings -Wmissing-prototypes
9
  #CFLAGS += -DBIGENDIAN
10
+CFLAGS  += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
10
  #CFLAGS += -DALIGNMENT_WORKAROUND
11
+          -Wcast-align -Wwrite-strings -Wmissing-prototypes ${CPPFLAGS} \
11
  
12
+          -DHAVE_DECL_GETOPT
12
--- 10,17 ----
13
 #CFLAGS += -DBIGENDIAN
13
  
14
 #CFLAGS += -DALIGNMENT_WORKAROUND
14
  CC      = gcc
15
 
15
  CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
16
@@ -19,12 +19,11 @@
16
!           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline ${CPPFLAGS} \
17
 #CFLAGS += -g
17
! 	  -DHAVE_DECL_GETOPT
18
 
18
  #CFLAGS += -DBIGENDIAN
19
 # Pass linker flags here
19
  #CFLAGS += -DALIGNMENT_WORKAROUND
20
-LDFLAGS =
20
  
21
+LDFLAGS +=
21
***************
22
 
22
*** 19,32 ****
23
 DESTDIR =
23
  #CFLAGS += -g
24
-prefix  = /usr/local
24
  
25
-sbindir = $(prefix)/sbin
25
  # Pass linker flags here
26
-mandir  = $(prefix)/man
26
! LDFLAGS =
27
+sbindir = $(PREFIX)/sbin
27
  
28
+mandir  = $(PREFIX)/man
28
  DESTDIR =
29
 man8dir = $(mandir)/man8
29
! prefix  = /usr/local
30
 
30
! sbindir = $(prefix)/sbin
31
 all : dmidecode biosdecode ownership vpddecode
31
! mandir  = $(prefix)/share/man
32
  man8dir = $(mandir)/man8
33
! docdir  = $(prefix)/share/doc/dmidecode
34
  
35
  INSTALL         := install
36
  INSTALL_DATA    := $(INSTALL) -m 644
37
--- 20,32 ----
38
  #CFLAGS += -g
39
  
40
  # Pass linker flags here
41
! LDFLAGS +=
42
  
43
  DESTDIR =
44
! sbindir = $(PREFIX)/sbin
45
! mandir  = $(PREFIX)/man
46
  man8dir = $(mandir)/man8
47
! docdir  = $(PREFIX)/share/doc/dmidecode
48
  
49
  INSTALL         := install
50
  INSTALL_DATA    := $(INSTALL) -m 644

Return to bug 86209