- Update to 0.1g.

- Respect CC and PREFIX.
- Add a knob to build a static binary. (which is useful to put on a
fixit floppy etc.)

Approved by:	Andrew Stevenson <andrew@ugh.net.au> (MAINTAINER)
This commit is contained in:
Akinori MUSHA 2000-09-16 09:15:16 +00:00
parent 6bcd95466e
commit 8ae5d2d4f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32685
4 changed files with 23 additions and 12 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= gpart
PORTVERSION= 0.1f
PORTVERSION= 0.1g
CATEGORIES= sysutils
MASTER_SITES= http://www.stud.uni-hannover.de/user/76201/gpart/ \
${MASTER_SITE_SUNSITE}
@ -17,4 +17,8 @@ MAINTAINER= andrew@ugh.net.au
USE_GMAKE= yes
MAN8= gpart.8
.if defined(WANT_STATIC)
LDFLAGS= -static
.endif
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (gpart-0.1f.tar.gz) = 76e479277f3a9f039be7efd3c53e69b0
MD5 (gpart-0.1g.tar.gz) = 7a4f1debf68b33b9668d2cdcd5af3946

View file

@ -1,10 +1,12 @@
--- inst.defs.orig Fri Dec 4 06:59:41 1998
+++ inst.defs Wed Sep 29 14:18:55 1999
@@ -2,7 +2,7 @@
--- inst.defs.orig Sun May 14 21:04:24 2000
+++ inst.defs Sat Sep 16 17:41:38 2000
@@ -1,8 +1,8 @@
#
# installation directories for gpart
#
prefix=/usr/local
-prefix=/usr/local
-bindir=$(prefix)/bin
+prefix=$(PREFIX)
+bindir=$(prefix)/sbin
libdir=$(prefix)/lib
mandir=$(prefix)/man

View file

@ -1,11 +1,16 @@
--- make.defs.orig Wed Sep 29 15:10:52 1999
+++ make.defs Wed Sep 29 15:11:05 1999
@@ -2,7 +2,7 @@
--- make.defs.orig Sun May 14 21:07:18 2000
+++ make.defs Sat Sep 16 17:44:32 2000
@@ -1,10 +1,10 @@
#
#
CC = gcc
#
-CC = gcc
-CFLAGS = -Wall -O2 -pedantic
+CFLAGS += -Wall -O2 -pedantic
+CC ?= gcc
+CFLAGS += -Wall -pedantic
LDFLAGS =
MAKEDEP = gcc -M
-MAKEDEP = gcc -M
+MAKEDEP = $(CC) -M
INSTALL = install
RM = rm -f
#