aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tai64nfrac/files
diff options
context:
space:
mode:
authorCarlo Strub <cs@FreeBSD.org>2012-09-02 13:08:58 +0000
committerCarlo Strub <cs@FreeBSD.org>2012-09-02 13:08:58 +0000
commitc671393334f52e65ffdee2233abef88c88aa4c24 (patch)
treef3452c515e049f7af35d67030325a97a5f085f31 /sysutils/tai64nfrac/files
parent0605c9637c2c32c3dc0efd316b20111986a55491 (diff)
Notes
Diffstat (limited to 'sysutils/tai64nfrac/files')
-rw-r--r--sysutils/tai64nfrac/files/patch-makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/tai64nfrac/files/patch-makefile b/sysutils/tai64nfrac/files/patch-makefile
new file mode 100644
index 000000000000..8f5f4c333a57
--- /dev/null
+++ b/sysutils/tai64nfrac/files/patch-makefile
@@ -0,0 +1,28 @@
+--- Makefile 2003-03-10 03:33:41.000000000 +0100
++++ Makefile.new 2012-09-02 14:58:41.920363626 +0200
+@@ -4,10 +4,9 @@
+ prefix = /usr/local
+ exec_prefix = /usr/local
+ bindir = $(prefix)/bin
+-mandir = $(prefix)/man
+-man1dir = $(mandir)/man1
++mandir = $(prefix)/man/man1
+
+-CC = gcc
++CC ?= gcc
+ CFLAGS = -g -O
+ LDFLAGS =
+ LIBS =
+@@ -25,10 +24,8 @@
+ --section=1 $< > $@
+
+ install: tai64nfrac tai64nfrac.1
+- mkdir -p $(bindir)
+- cp tai64nfrac $(bindir)
+- mkdir -p $(man1dir)
+- cp tai64nfrac.1 $(man1dir)
++ install -c -g 0 -o 0 -m 0555 tai64nfrac $(bindir)
++ install -c -g 0 -o 0 -m 0444 tai64nfrac.1 $(mandir)
+
+ clean:
+ rm -f *.o tai64nfrac