source: trunk/dports/sysutils/btrfs-progs/Portfile

Last change on this file was 81740, checked in by jmr@…, 6 years ago

btrfs-progs: remove -Werror that breaks the build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 81740 2011-08-04 17:07:11Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            btrfs-progs
7version         0.18
8categories      sysutils
9platforms       darwin linux
10maintainers     googlemail.com:0xffea
11
12description     Btrfs utility programs.
13long_description        Btrfs is a new copy-on-write filesystem. \
14                        This port contains utilities to create, check and \
15                        debug btrfs filesystems.
16homepage        http://btrfs.wiki.kernel.org/
17master_sites    http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/
18
19checksums       md5 1dfe59152a558eb2f79a4c398de6c4ef \
20                sha1 a213256781d7f1a2eb6a860fcce3f6131d415a49 \
21                rmd160 8e2441f9d7c452821347d0e564c2fc3c1cbd9dcc
22
23depends_lib     port:ossp-uuid
24
25patchfiles      patch-kerncompat.h.diff \
26                patch-disk-io.c.diff \
27                patch-extent-tree.c.diff \
28                patch-file-item.c.diff \
29                patch-ioctl.h.diff \
30                patch-utils.c.diff \
31                patch-list.h.diff \
32                patch-volumes.c.diff \
33                patch-btrfsck.c.diff \
34                patch-mkfs.c.diff \
35                patch-btrfs-image.c.diff
36
37post-patch {
38    reinplace "s|CC=gcc|CC=${configure.cc}|g" \
39        ${worksrcpath}/Makefile
40    reinplace "s|-Werror||g" \
41        ${worksrcpath}/Makefile
42    reinplace "s|prefix ?= /usr/local|prefix = ${prefix}|g" \
43        ${worksrcpath}/Makefile
44}
45
46use_configure   no
47
48build.post_args LDFLAGS=-L${prefix}/lib
Note: See TracBrowser for help on using the repository browser.