diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-10-24 09:31:07 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-10-24 09:31:07 +0000 |
commit | 0333aa667b6bf3700e0c66bcf4adcb5cfa21c966 (patch) | |
tree | 2b4dabe50c71ff589b8a82660d94cba7d122618a /irc/olirc | |
parent | - Update to 2.2 [1] (diff) |
Make ${LOCALBASE}-safe
PR: ports/878874
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=146227
Diffstat (limited to 'irc/olirc')
-rw-r--r-- | irc/olirc/Makefile | 3 | ||||
-rw-r--r-- | irc/olirc/files/patch-configure.in | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/irc/olirc/Makefile b/irc/olirc/Makefile index 224a0f5b0bcc..7f163d8d907e 100644 --- a/irc/olirc/Makefile +++ b/irc/olirc/Makefile @@ -21,7 +21,8 @@ PLIST_FILES= bin/olirc USE_BZIP2= yes USE_X_PREFIX= yes USE_GNOME= gtk12 -GNU_CONFIGURE= yes +USE_AUTOCONF_VER= 213 +CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/olirc ${PREFIX}/bin diff --git a/irc/olirc/files/patch-configure.in b/irc/olirc/files/patch-configure.in new file mode 100644 index 000000000000..9a86e64f031a --- /dev/null +++ b/irc/olirc/files/patch-configure.in @@ -0,0 +1,25 @@ +Index: configure.in +@@ -86,20 +86,15 @@ + + tclrecommendver="8.2.1" + +-tcllibnames="tcl tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \ +- tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \ +- tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70" ++tcllibnames="tcl8.2 tcl82" + + tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a" + +-tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \ +- /usr/lib /lib /usr/i486-linuxaout/lib \ +- $HOME/lib $HOME/tcl/lib $HOME" ++tcllibpaths="${LOCALBASE}/lib" + + tclheadernames="tcl.h" + +-tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \ +- /usr/include $HOME/include $HOME/tcl/include $HOME" ++tclheaderpaths="${LOCALBASE}/include" + + # make sure either both or neither $tcllibname and $tclincname are set + if test ! "_${tcllibname}" = "_" |