freebsd-ports/sysutils/archivemount/files/patch-Makefile
Martin Wilke 5572fb2f44 Archivemount is a piece of glue code between libarchive
(http://people.freebsd.org/~kientzle/libarchive/) and FUSE
(http://fuse.sourceforge.net). It can be used to mount a (possibly compressed)
archive (as in .tar.gz or .tar.bz2) and use it like an ordinary filesystem.

WWW: http://www.cybernoia.de/software/archivemount/

PR:		ports/124793
Submitted by:	Evgeny Zhirnov <jirnov at gmail.com>
2008-06-21 12:46:43 +00:00

13 lines
373 B
Text

--- Makefile.orig 2006-12-28 18:32:47.000000000 +0300
+++ Makefile 2008-06-20 20:04:50.000000000 +0400
@@ -12,8 +12,8 @@
CC = gcc
all: $(EXE)
-CFLAGS += -D_FILE_OFFSET_BITS=64
-LDFLAGS = -larchive -lfuse
+CFLAGS += -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse
+LDFLAGS = -larchive -liconv -lfuse -pthread -L/usr/local/lib
ifeq ($(DEBUG),1)
CFLAGS += -ggdb -O0