fix openbsd!=4

This commit is contained in:
sthen 2011-07-20 15:30:32 +00:00
parent 9891f077de
commit c3a4115dc4
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.13 2010/11/15 13:08:37 espie Exp $
# $OpenBSD: Makefile,v 1.14 2011/07/20 15:30:32 sthen Exp $
COMMENT= software drum machine
DISTNAME= hydrogen-0.9.4
REVISION= 0
REVISION= 1
CATEGORIES= audio
HOMEPAGE= http://www.hydrogen-music.org/
MAINTAINER= Jacob Meuser <jakemsr@openbsd.org>

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-qt4_py,v 1.1 2010/01/11 05:11:32 jakemsr Exp $
--- qt4.py.orig Fri Jan 1 02:03:00 2010
+++ qt4.py Fri Jan 1 02:04:29 2010
$OpenBSD: patch-qt4_py,v 1.2 2011/07/20 15:30:32 sthen Exp $
--- qt4.py.orig Sat Aug 8 12:35:13 2009
+++ qt4.py Wed Jul 20 16:29:16 2011
@@ -444,7 +444,7 @@ def enable_modules(self, modules, debug=False, crossco
try : self.AppendUnique(CPPDEFINES=moduleDefines[module])
except: pass
debugSuffix = ''
- if sys.platform == "linux2" and not crosscompiling :
+ if sys.platform == "linux2" or sys.platform == "openbsd4" and not crosscompiling :
+ if sys.platform == "linux2" or sys.platform.find('openbsd') != -1 and not crosscompiling :
if debug : debugSuffix = '_debug'
for module in modules :
if module not in pclessModules : continue