gunnar: server/pear Base.mk,1.1,1.2
cvs at kolab.org
cvs at kolab.org
Mon May 18 21:49:58 CEST 2009
- Previous message: bh: utils/testing create_ldap_users.py,1.7,1.8
- Next message: gunnar: server/pear/Horde_NLS .cvsignore, 1.1, 1.2 ChangeLog, 1.2, 1.3 Horde_NLS.spec, 1.5, 1.6 Makefile, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/pear
In directory doto:/tmp/cvs-serv16758
Modified Files:
Base.mk
Log Message:
Do not let the Makefile fail on non-openpkg systems.
Index: Base.mk
===================================================================
RCS file: /kolabrepository/server/pear/Base.mk,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Base.mk 18 May 2009 17:36:02 -0000 1.1
+++ Base.mk 18 May 2009 19:49:56 -0000 1.2
@@ -18,10 +18,22 @@
HOME = /kolab
endif
+# Is this an openpkg system?
+OPENPKG=$(shell test -e $(HOME)/bin/openpkg && echo YES)
+
+ifeq "x$(OPENPKG)" "xYES"
# Set the location of the rpm binary
ifeq "x$(RPM)" "x"
RPM = $(HOME)/bin/openpkg rpm
endif
+# Determine the suffix for binary packages on this system
+ifeq "x$(PLATTAG)" "x"
+ PLATTAG = $(shell $(RPM) -q --qf="%{ARCH}-%{OS}" openpkg)-$(HOME:/%=%)
+endif
+else
+ RPM =
+ PLATTAG = unknown
+endif
# Set the location for rpm source package installations
ifeq "x$(KOLABRPMSRC)" "x"
@@ -36,9 +48,4 @@
# Set the location for the rpm temporary directory
ifeq "x$(KOLABRPMTMP)" "x"
KOLABRPMTMP = $(HOME)/RPM/TMP
-endif
-
-# Determine the suffix for binary packages on this system
-ifeq "x$(PLATTAG)" "x"
- PLATTAG = $(shell $(RPM) -q --qf="%{ARCH}-%{OS}" openpkg)-$(HOME:/%=%)
endif
- Previous message: bh: utils/testing create_ldap_users.py,1.7,1.8
- Next message: gunnar: server/pear/Horde_NLS .cvsignore, 1.1, 1.2 ChangeLog, 1.2, 1.3 Horde_NLS.spec, 1.5, 1.6 Makefile, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list