1 | --- Portfile.orig 2011-03-29 10:30:18.000000000 +0200 |
---|
2 | +++ Portfile 2011-04-04 14:55:09.000000000 +0200 |
---|
3 | @@ -22,7 +22,7 @@ |
---|
4 | checksums sha1 0bf8cc9a7d8bdad6bbe9e6ba970890da902a27c8 \ |
---|
5 | rmd160 b52168e67e6b8c65c924b4642944aa592f0bb4a0 |
---|
6 | |
---|
7 | -depends_lib port:imlib2 port:file |
---|
8 | +depends_lib port:imlib2 port:gtk2 |
---|
9 | |
---|
10 | patchfiles patch-Makefile.diff |
---|
11 | |
---|
12 | @@ -39,6 +39,13 @@ |
---|
13 | set archflags ${configure.cc_archflags} |
---|
14 | } |
---|
15 | |
---|
16 | +variant libmagic description {Enable use of libmagic to identify if a file is an image} { |
---|
17 | + depends_lib-append port:file |
---|
18 | + post-patch { |
---|
19 | + reinplace "s|^#MAGIC = -DHAVE_MAGIC|MAGIC = -DHAVE_MAGIC|" ${worksrcpath}/Makefile |
---|
20 | + } |
---|
21 | +} |
---|
22 | + |
---|
23 | build.args CC="${configure.cc} ${archflags}" |
---|
24 | |
---|
25 | livecheck.type regex |
---|