aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gpart
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-16 09:15:16 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-16 09:15:16 +0000
commit8ae5d2d4f9c2f5202ba3f7ba2c971e7ddd1e901b (patch)
tree076d059a7af3c4de29eefba1761bc373b9b28211 /sysutils/gpart
parent6bcd95466ecb20f042df3e7d5579602e99aa9ac4 (diff)
downloadports-8ae5d2d4f9c2f5202ba3f7ba2c971e7ddd1e901b.tar.gz
ports-8ae5d2d4f9c2f5202ba3f7ba2c971e7ddd1e901b.zip
Notes
Diffstat (limited to 'sysutils/gpart')
-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
+ #