ports/filesystems/httpfs/files/patch-Makefile
Robert Clausecker 6e2da9672f 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
2024-11-06 16:17:35 +01:00

60 lines
2.3 KiB
Text

--- Makefile.orig 2012-09-03 14:58:02 UTC
+++ Makefile
@@ -1,5 +1,5 @@
MAIN_CFLAGS := -g -Os -Wall $(shell pkg-config fuse --cflags)
-MAIN_CPPFLAGS := -Wall -Wno-unused-function -Wconversion -Wtype-limits -DUSE_AUTH -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE
+MAIN_CPPFLAGS := -Wall -Wno-unused-function -Wconversion -DUSE_AUTH -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE
THR_CPPFLAGS := -DUSE_THREAD
THR_LDFLAGS := -lpthread
MAIN_LDFLAGS := $(shell pkg-config fuse --libs | sed -e s/-lrt// -e s/-ldl// -e s/-pthread// -e "s/ / /g")
@@ -10,7 +10,7 @@ ifeq ($(shell pkg-config --atleast-version 2.10 gnutls
variants += -ssl -ssl-mt
- CERT_STORE := /etc/ssl/certs/ca-certificates.crt
+# CERT_STORE := /etc/ssl/certs/ca-certificates.crt
SSL_CPPFLAGS := -DUSE_SSL $(shell pkg-config gnutls --cflags) -DCERT_STORE=\"$(CERT_STORE)\"
SSL_LDFLAGS := $(shell pkg-config gnutls --libs)
endif
@@ -23,7 +23,8 @@ manpages = $(addsuffix .1,$(binaries))
intermediates += $(addsuffix .xml,$(manpages))
-targets = $(binaries) $(manpages)
+#targets = $(binaries) $(manpages)
+targets = $(binaries)
full:
$(MAKE) all $(addprefix all,$(variants))
@@ -44,8 +45,8 @@ clean-recursive:
%-full:
$(MAKE) $* $(addprefix $*,$(variants))
-%.1: %.1.txt
- a2x -f manpage $<
+#%.1: %.1.txt
+# a2x -f manpage $<
%-ssl: $*
$(MAKE) CPPFLAGS='$(CPPFLAGS) $(SSL_CPPFLAGS)' LDFLAGS='$(LDFLAGS) $(SSL_LDFLAGS)' binsuffix=-ssl$(binsuffix) $*
@@ -60,20 +61,6 @@ clean-recursive:
$(MAKE) CPPFLAGS='$(CPPFLAGS) -DRETRY_ON_RESET' binsuffix=-rst$(binsuffix) $*
# Rules to automatically make a Debian package
-
-package = $(shell dpkg-parsechangelog | grep ^Source: | sed -e s,'^Source: ',,)
-version = $(shell dpkg-parsechangelog | grep ^Version: | sed -e s,'^Version: ',, -e 's,-.*,,')
-revision = $(shell dpkg-parsechangelog | grep ^Version: | sed -e -e 's,.*-,,')
-architecture = $(shell dpkg --print-architecture)
-tar_dir = $(package)-$(version)
-tar_gz = $(tar_dir).tar.gz
-pkg_deb_dir = pkgdeb
-unpack_dir = $(pkg_deb_dir)/$(tar_dir)
-orig_tar_gz = $(pkg_deb_dir)/$(package)_$(version).orig.tar.gz
-pkg_deb_src = $(pkg_deb_dir)/$(package)_$(version)-$(revision)_source.changes
-pkg_deb_bin = $(pkg_deb_dir)/$(package)_$(version)-$(revision)_$(architecture).changes
-
-deb_pkg_key = CB8C5858
debclean:
rm -rf $(pkg_deb_dir)