|
Lines 34-49
Link Here
|
| 34 |
# disable exif support as required |
34 |
# disable exif support as required |
| 35 |
if ! use exif; then |
35 |
if ! use exif; then |
| 36 |
sed \ |
36 |
sed \ |
| 37 |
-e 's/^.* -DHAVE_GIFLIB/#\0/' \ |
37 |
-e 's/^.* -DHAVE_LIBEXIF/#\0/' \ |
| 38 |
-e 's/^.* -lgif/#\0/' \ |
38 |
-e 's/^.* -lexif/#\0/' \ |
| 39 |
-i Makefile || die |
39 |
-i Makefile || die |
| 40 |
fi |
40 |
fi |
| 41 |
|
41 |
|
| 42 |
# disable gif support as required |
42 |
# disable gif support as required |
| 43 |
if ! use gif; then |
43 |
if ! use gif; then |
| 44 |
sed \ |
44 |
sed \ |
| 45 |
-e 's/^.* -DHAVE_LIBEXIF/#\0/' \ |
45 |
-e 's/^.* -DHAVE_GIFLIB/#\0/' \ |
| 46 |
-e 's/^.* -lexif/#\0/' \ |
46 |
-e 's/^.* -lgif/#\0/' \ |
| 47 |
-i Makefile || die |
47 |
-i Makefile || die |
| 48 |
fi |
48 |
fi |
| 49 |
|
49 |
|