filesystems/fuse-loggedfs: Let makefile use pkgsrc LDFLAGS

LDFLAGS.DragonFly is passed by fuse buildlink3 and this patch modification
is required to use it.
This commit is contained in:
marino 2012-08-17 12:58:59 +00:00
parent 08a8481070
commit ca6df7da1e
2 changed files with 11 additions and 7 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2007/06/11 20:13:27 agc Exp $
$NetBSD: distinfo,v 1.2 2012/08/17 12:58:59 marino Exp $
SHA1 (loggedfs-0.4.tar.bz2) = a20eae4c035e5eeaec066d5b5d14b42dac2b2189
RMD160 (loggedfs-0.4.tar.bz2) = e2ad904e70fec7c9a188f2bc5d6528adfcb104f2
Size (loggedfs-0.4.tar.bz2) = 14851 bytes
SHA1 (patch-aa) = 58eeb1ac9db64605e96fa8bc63de2f1f5c398b0c
SHA1 (patch-ab) = 864bf2488034a3217f530ed6a8171633424b9928
SHA1 (patch-ab) = d2075babb5997b8b64ec94fce79903a6d0ae55bc

View file

@ -1,11 +1,15 @@
$NetBSD: patch-ab,v 1.1.1.1 2007/06/11 20:13:27 agc Exp $
$NetBSD: patch-ab,v 1.2 2012/08/17 12:59:00 marino Exp $
--- Makefile 2007/06/08 15:32:49 1.1
+++ Makefile 2007/06/08 15:34:17
@@ -1,5 +1,5 @@
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`
+LDFLAGS+=-Wall -ansi -lpcre -lfuse -lrlog `xml2-config --libs`
srcdir=src
builddir=build