Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Ports
irc-otr
irssi-otr-1.0.0-irssi-module-dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File irssi-otr-1.0.0-irssi-module-dir.patch of Package irc-otr
From: Martin Milata <mmilata@srck.net> Date: Sun Mar 9 14:21:13 2014 +0100 Subject: Make irssi module directory configurable Upstream: Committed References: https://github.com/cryptodotis/irssi-otr/commit/13ae352b0fe854f8dff17d45440594f501533b83#diff-67e997bcfdac55191033d57a16d1408a The hardcoded path does not work on 64 bit. diff --git a/configure.ac b/configure.ac index 34fc64c..160130b 100644 --- a/configure.ac +++ b/configure.ac @@ -69,9 +69,16 @@ CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -fstack-protector-all -D_FORTIFY_S DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include" AC_SUBST(DEFAULT_INCLUDES) -# Hardcoded here since irssi only searches in $HOME/.irssi/modules or this path -# which is unfortunate... -IRSSI_MODULE_DIR="/usr/lib/irssi/modules" +# Irssi searches for modules in $HOME/.irssi/modules and $(libdir)/irssi/modules +# where the value of $(libdir) may depend on your distribution, architecture, +# and whether irssi was installed from package or from source. +# The hardcoded value should work for most systems but you need to override it for +# e.g. x86_64 Fedora. +AC_ARG_WITH([irssi-module-dir], + AS_HELP_STRING([--with-irssi-module-dir=DIR], [Irssi module directory]), + [IRSSI_MODULE_DIR="$withval"], + [IRSSI_MODULE_DIR="/usr/lib/irssi/modules"]) + AC_SUBST(IRSSI_MODULE_DIR) AC_CONFIG_FILES([
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor