aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-16 17:15:16 +0800
committerknu <knu@FreeBSD.org>2000-09-16 17:15:16 +0800
commit5c25918f40e72cec91710d071b54c66cfec0e2eb (patch)
treece40f470f195fb50768192b8820d87ed5618b781 /sysutils
parent74460b85c4161f91b87178f238f463558c475ef7 (diff)
downloadfreebsd-ports-gnome-5c25918f40e72cec91710d071b54c66cfec0e2eb.tar.gz
freebsd-ports-gnome-5c25918f40e72cec91710d071b54c66cfec0e2eb.tar.zst
freebsd-ports-gnome-5c25918f40e72cec91710d071b54c66cfec0e2eb.zip
- 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)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gpart/Makefile6
-rw-r--r--sysutils/gpart/distinfo2
-rw-r--r--sysutils/gpart/files/patch-aa10
-rw-r--r--sysutils/gpart/files/patch-ab17
4 files changed, 23 insertions, 12 deletions
diff --git a/sysutils/gpart/Makefile b/sysutils/gpart/Makefile
index 5a1e7e55ecaf..2a1054629d2a 100644
--- a/sysutils/gpart/Makefile
+++ b/sysutils/gpart/Makefile
@@ -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>
diff --git a/sysutils/gpart/distinfo b/sysutils/gpart/distinfo
index 29fff9c71583..035879e00ed6 100644
--- a/sysutils/gpart/distinfo
+++ b/sysutils/gpart/distinfo
@@ -1 +1 @@
-MD5 (gpart-0.1f.tar.gz) = 76e479277f3a9f039be7efd3c53e69b0
+MD5 (gpart-0.1g.tar.gz) = 7a4f1debf68b33b9668d2cdcd5af3946
diff --git a/sysutils/gpart/files/patch-aa b/sysutils/gpart/files/patch-aa
index 97de21d9d616..9d1c9ed1bc8c 100644
--- a/sysutils/gpart/files/patch-aa
+++ b/sysutils/gpart/files/patch-aa
@@ -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
diff --git a/sysutils/gpart/files/patch-ab b/sysutils/gpart/files/patch-ab
index 8d3708bd55d7..20316437393e 100644
--- a/sysutils/gpart/files/patch-ab
+++ b/sysutils/gpart/files/patch-ab
@@ -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
+ #