diff options
author | vs <vs@FreeBSD.org> | 2005-10-24 17:31:07 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-10-24 17:31:07 +0800 |
commit | be715e9f627ecc56f750131c2e36c7be846d8d32 (patch) | |
tree | 407b6dab66cd305b66132c654e0561d4f09ad9fe /irc/olirc | |
parent | fa7d747f0fc0b287b1144fe98aeb20ce54d652a0 (diff) | |
download | freebsd-ports-gnome-be715e9f627ecc56f750131c2e36c7be846d8d32.tar.gz freebsd-ports-gnome-be715e9f627ecc56f750131c2e36c7be846d8d32.tar.zst freebsd-ports-gnome-be715e9f627ecc56f750131c2e36c7be846d8d32.zip |
Make ${LOCALBASE}-safe
PR: ports/878874
Submitted by: maintainer
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}" = "_" |