pkgsrc/filesystems/fuse-loggedfs/patches/patch-ab
marino ca6df7da1e filesystems/fuse-loggedfs: Let makefile use pkgsrc LDFLAGS
LDFLAGS.DragonFly is passed by fuse buildlink3 and this patch modification
is required to use it.
2012-08-17 12:58:59 +00:00

15 lines
611 B
Text

$NetBSD: patch-ab,v 1.2 2012/08/17 12:59:00 marino Exp $
Provide access to CPPFLAGS and LDFLAGS from pkgsrc Makefile
--- Makefile.orig 2007-01-13 22:12:37.000000000 +0000
+++ Makefile
@@ -1,6 +1,6 @@
CC=g++
-CFLAGS=-Wall -ansi -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -DRLOG_COMPONENT="loggedfs" `xml2-config --cflags`
-LDFLAGS=-Wall -ansi -lpcre -lfuse -lrlog `xml2-config --libs`
+CFLAGS=-Wall -ansi -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -DRLOG_COMPONENT="loggedfs" `xml2-config --cflags` ${CPPFLAGS}
+LDFLAGS+=-Wall -ansi -lpcre -lfuse -lrlog `xml2-config --libs`
srcdir=src
builddir=build