[csw-devel] SF.net SVN: gar:[8528] csw/mgar/pkg/postfix/branches/postfix-2.6/Makefile
bensons at users.sourceforge.net
bensons at users.sourceforge.net
Fri Feb 12 17:08:57 CET 2010
Revision: 8528
http://gar.svn.sourceforge.net/gar/?rev=8528&view=rev
Author: bensons
Date: 2010-02-12 16:08:57 +0000 (Fri, 12 Feb 2010)
Log Message:
-----------
postfix-2.6: added postfix-simple build definition
Modified Paths:
--------------
csw/mgar/pkg/postfix/branches/postfix-2.6/Makefile
Modified: csw/mgar/pkg/postfix/branches/postfix-2.6/Makefile
===================================================================
--- csw/mgar/pkg/postfix/branches/postfix-2.6/Makefile 2010-02-12 15:32:57 UTC (rev 8527)
+++ csw/mgar/pkg/postfix/branches/postfix-2.6/Makefile 2010-02-12 16:08:57 UTC (rev 8528)
@@ -47,6 +47,10 @@
INITSMF = $(sysconfdir)/init.d/csw$(GARNAME)
USERGROUP = $(sysconfdir)/pkg/CSW$(GARNAME)/cswusergroup
+# Type of build. Either 'simple' (just using bdb and ssl)
+# or 'full'
+BUILDTYPE = simple
+
# For the sake of simplicity and user choice we dropped the automatic
# replacement of the /usr/{lib,bin} sendmail binaries. Ref.
# http://article.gmane.org/gmane.os.solaris.opencsw.maintainers/5313
@@ -146,6 +150,7 @@
BUILD_DEP_PKGS += CSWossldevel
RUNTIME_DEP_PKGS += CSWosslrt
+ifneq ($(BUILDTYPE),simple)
# Activate support for Cyrus SASL (dovecot is incl. automatically)
# http://www.postfix.org/SASL_README.html
FEATURES += -DUSE_SASL_AUTH -DUSE_CYRUS_SASL
@@ -178,8 +183,10 @@
AUXLIBS += -lpq
BUILD_DEP_PKGS += CSWlibpq
RUNTIME_DEP_PKGS += CSWlibpq
+else
+PKGNAME = $(GARNAME)-simple
+endif
-
# Make sure to include $(CFLAGS) so that we get sane defaults via GAR
CCARGS=$(CPPFLAGS) $(INCLUDES) $(FEATURES) $(DEFAULTS) $(CFLAGS)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list