[Pkg-irc-commits] r56 - /packages/inspircd/trunk/debian/rules

nenolod-guest at users.alioth.debian.org nenolod-guest at users.alioth.debian.org
Tue Dec 18 04:55:53 UTC 2007


Author: nenolod-guest
Date: Tue Dec 18 04:55:53 2007
New Revision: 56

URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=56
Log:
- drop export (it's not needed afterall)
- make sure DEB_HOST_ARCH_OS is defined.

Modified:
    packages/inspircd/trunk/debian/rules

Modified: packages/inspircd/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/rules?rev=56&op=diff
==============================================================================
--- packages/inspircd/trunk/debian/rules (original)
+++ packages/inspircd/trunk/debian/rules Tue Dec 18 04:55:53 2007
@@ -5,14 +5,16 @@
 
 CFLAGS = -Wall -g
 
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+
 ifeq ($(DEB_HOST_ARCH_OS), linux) 
-    export SOCKET_ENGINE=--enable-epoll
+    SOCKET_ENGINE=--enable-epoll
 else ifeq ($(DEB_HOST_ARCH_OS), kfreebsd) 
-    export SOCKET_ENGINE=--enable-kqueue
+    SOCKET_ENGINE=--enable-kqueue
 else ifeq ($(DEB_HOST_ARCH_OS), solaris)
-    export SOCKET_ENGINE=--enable-ports
+    SOCKET_ENGINE=--enable-ports
 else
-    export SOCKET_ENGINE=--enable-poll
+    SOCKET_ENGINE=--enable-poll
 endif 
 
 include /usr/share/dpatch/dpatch.make




More information about the Pkg-irc-commits mailing list