diff options
author | titopoquito <titopoquito@gmail.com> | 2011-02-06 12:06:20 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-06 12:06:20 -0600 |
commit | 277b795b02af700cb298e2a0b772757e746d8a11 (patch) | |
tree | aaf1bdd918fe2a20ac5f1f1b2a07c8b145eb55b3 /system | |
parent | c3c2cb47b36459a96dd8f1be4a2439f394f99dbb (diff) |
system/unrtf: Fixed hardcoded /usr/local references
Thanks to B. Watson for the find and fix.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/unrtf/unrtf.SlackBuild | 7 | ||||
-rw-r--r-- | system/unrtf/unrtf.info | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/system/unrtf/unrtf.SlackBuild b/system/unrtf/unrtf.SlackBuild index f64e2c0e410d..08efddbf4925 100644 --- a/system/unrtf/unrtf.SlackBuild +++ b/system/unrtf/unrtf.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for unrtf # Written by by titopoquito (titopoquito@gmail.com) +# fix to replace hard coded links to /usr/local by B. Watson # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -24,7 +25,7 @@ PRGNAM=unrtf VERSION=${VERSION:-0.21.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +70,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# some source files have hard coded links to /usr/local - without this the +# compiled unrtf binary complains about missing /usr/local/lib/unrtf/html.conf +sed -i "s,/usr/local/lib,/usr/lib$LIBDIRSUFFIX," src/* + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/system/unrtf/unrtf.info b/system/unrtf/unrtf.info index e00ede59f4e8..3485ed4d89ff 100644 --- a/system/unrtf/unrtf.info +++ b/system/unrtf/unrtf.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="titopoquito" EMAIL="titopoquito@gmail.com" -APPROVED="Erik Hanson" +APPROVED="rworkman" |