diff options
author | Pavel Vinogradov | 2019-02-14 19:21:13 -0500 |
---|---|---|
committer | Pavel Vinogradov | 2019-02-14 19:25:03 -0500 |
commit | 23fe01d761df66d4a38948623a6e02e5c2dab25b (patch) | |
tree | 3e0f6fd54b580e2955c68cbfbfebe9717de8a55e /graphics-libs | |
parent | f13fa03c0dda8731ec9367354011e58c58394ef9 (diff) |
graphics-libs/giflib5: made it possible to respect our *FLAGS and
fixed man pages installation
Diffstat (limited to 'graphics-libs')
-rw-r--r-- | graphics-libs/giflib5/HISTORY | 4 | ||||
-rwxr-xr-x | graphics-libs/giflib5/PRE_BUILD | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/graphics-libs/giflib5/HISTORY b/graphics-libs/giflib5/HISTORY index b540af6b2f..cb358f9363 100644 --- a/graphics-libs/giflib5/HISTORY +++ b/graphics-libs/giflib5/HISTORY @@ -1,3 +1,7 @@ +2019-02-14 Pavel Vinogradov <public@sourcemage.org> + * PRE_BUILD: also improved support for our *FLAGS and corrected + man pages installation + 2019-02-14 Treeve Jelbert <treeve@sourcemage.org> * PRE_BUILD: do not install to /usr/local diff --git a/graphics-libs/giflib5/PRE_BUILD b/graphics-libs/giflib5/PRE_BUILD index b5bdb5129c..caaed33992 100755 --- a/graphics-libs/giflib5/PRE_BUILD +++ b/graphics-libs/giflib5/PRE_BUILD @@ -4,4 +4,9 @@ cd "${SOURCE_DIRECTORY}" && if ! is_depends_enabled "${SPELL}" "xmlto"; then apply_patch_dir patches fi && -sed -i '/PREFIX/s|/local||' Makefile + +sed -e "/OFLAGS =/s|= .*$|= ${CFLAGS}|" \ + -e "/LDFLAGS =/s|= .*$|= ${LDFLAGS}|" \ + -e "/PREFIX/s|/local||" \ + -e "/MANDIR/s|/man|&&1|" \ + -i Makefile |