Permalink
Browse files

set MINIVEND_FORCE_THREADS in the environment

  • Loading branch information...
1 parent ba4d046 commit e221a540fb2197ae388e1e9c8fe53affe906f9b7 @racke racke committed Jul 6, 2003
Showing with 3 additions and 3 deletions.
  1. +1 −1 debian/interchange.wrapper
  2. +2 −2 debian/rules
@@ -7,7 +7,7 @@ fi
. /etc/interchange/init.cfg
OPTS="SocketFile=/var/run/interchange/interchange.sock IPCsocket=/var/run/interchange/interchange.sock.ipc PIDfile=/var/run/interchange/interchange.pid --pidfile=/var/run/interchange/interchange.pid --log=/var/log/interchange/error.log --rundir=/var/run/interchange"
-CMD="env MINIVEND_STORABLE=$USE_STORABLE /usr/lib/interchange/bin/interchange $OPTS $@"
+CMD="env MINIVEND_STORABLE=$USE_STORABLE MINIVEND_FORCE_THREADS=1 /usr/lib/interchange/bin/interchange $OPTS $@"
if [ "$UID" -eq 0 ]; then
su -s /bin/sh -c "$CMD" $USER
else
View
@@ -41,7 +41,7 @@ build-stamp:
dh_testdir
# Compile main stuff
- $(PERL) Makefile.PL force=1 \
+ env MINIVEND_FORCE_THREADS=1 $(PERL) Makefile.PL force=1 \
INTERCHANGE_USER=interchange \
PREFIX=/usr/lib/interchange
$(MAKE)
@@ -70,7 +70,7 @@ install: build
dh_installdirs
# Add here commands to install the package into debian/tmp.
- $(MAKE) install PREFIX=$(TMP)/usr INSTALLARCHLIB=$(TMP)/usr/lib/interchange INSTALLPRIVLIB=$(TMP)/usr/lib/interchange INSTALLMAN1DIR=$(TMP)/usr/share/man/man1 INSTALLMAN3DIR=$(TMP)/usr/share/man/man8 INSTALLSCRIPT=$(TMP)/usr/lib/interchange/bin NOCPANINSTALL=1
+ env MINIVEND_FORCE_THREADS=1 $(MAKE) install PREFIX=$(TMP)/usr INSTALLARCHLIB=$(TMP)/usr/lib/interchange INSTALLPRIVLIB=$(TMP)/usr/lib/interchange INSTALLMAN1DIR=$(TMP)/usr/share/man/man1 INSTALLMAN3DIR=$(TMP)/usr/share/man/man8 INSTALLSCRIPT=$(TMP)/usr/lib/interchange/bin NOCPANINSTALL=1
# Sample configuration file not needed (code in interchange.PL
# to determine configuration file location will stop to work too)

0 comments on commit e221a54

Please sign in to comment.