summaryrefslogtreecommitdiff
path: root/filesystems/genromfs/files/patch-Makefile
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-09-27 12:48:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-06 16:17:35 +0100
commit6e2da9672f79f44048d597f0f61e4646cdeade9d (patch)
treec92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/genromfs/files/patch-Makefile
parentmath/sdpa: speed up build (diff)
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
Diffstat (limited to 'filesystems/genromfs/files/patch-Makefile')
-rw-r--r--filesystems/genromfs/files/patch-Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/filesystems/genromfs/files/patch-Makefile b/filesystems/genromfs/files/patch-Makefile
new file mode 100644
index 000000000000..1b9e509d6c3e
--- /dev/null
+++ b/filesystems/genromfs/files/patch-Makefile
@@ -0,0 +1,36 @@
+--- Makefile.orig 2009-02-15 10:48:15 UTC
++++ Makefile
+@@ -5,7 +5,7 @@ all: genromfs
+
+ PACKAGE = genromfs
+ VERSION = 0.5.7
+-CC = gcc
++CC = cc
+ CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g#
+ LDFLAGS = -s#-g
+
+@@ -17,9 +17,9 @@ FILES = COPYING NEWS ChangeLog Makefile \
+ checkdist \
+ .gitignore selftest
+
+-prefix = /usr
+-bindir = $(prefix)/bin
+-mandir = $(prefix)/man
++PREFIX ?= /usr
++bindir = /bin
++mandir = /share/man
+
+ genromfs: genromfs.o
+ $(CC) $(LDFLAGS) genromfs.o -o genromfs
+@@ -53,11 +53,6 @@ install-bin:
+ install -m 755 genromfs $(PREFIX)$(bindir)/
+
+ install-man:
+- # genromfs 0.5 installed the man page in this file,
+- # remove it before someone notices :)
+- if [ -f $(PREFIX)$(bindir)/man8 ]; then \
+- rm -f $(PREFIX)$(bindir)/man8; \
+- fi
+ mkdir -p $(PREFIX)$(mandir)/man8
+ install -m 644 genromfs.8 $(PREFIX)$(mandir)/man8/
+