[csw-devel] SF.net SVN: gar:[11774] csw/mgar/pkg/freeradius/trunk
gadavis at users.sourceforge.net
gadavis at users.sourceforge.net
Fri Dec 3 20:21:43 CET 2010
Revision: 11774
http://gar.svn.sourceforge.net/gar/?rev=11774&view=rev
Author: gadavis
Date: 2010-12-03 19:21:43 +0000 (Fri, 03 Dec 2010)
Log Message:
-----------
FreeRADIUS builds and installs under Sparc 32 bit
Modified Paths:
--------------
csw/mgar/pkg/freeradius/trunk/Makefile
Property Changed:
----------------
csw/mgar/pkg/freeradius/trunk/
Property changes on: csw/mgar/pkg/freeradius/trunk
___________________________________________________________________
Modified: svn:externals
- gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2-fortran
Modified: csw/mgar/pkg/freeradius/trunk/Makefile
===================================================================
--- csw/mgar/pkg/freeradius/trunk/Makefile 2010-12-03 15:30:58 UTC (rev 11773)
+++ csw/mgar/pkg/freeradius/trunk/Makefile 2010-12-03 19:21:43 UTC (rev 11774)
@@ -20,15 +20,26 @@
SPKG_SOURCEURL = http://freeradius.org/
-GARCOMPILER = GCC3
+GARCOMPILER = GCC4
-STRIP_LIBTOOL = 1
+# Stripping libtool breaks the build in versions <=2.1.7
+#STRIP_LIBTOOL = 1
-CONFIGURE_ARGS = $(DIRPATHS)
-## 2.1.10 requires using included libtool instead of system
-#CONFIGURE_ARGS += --with-system-libtool
+## Some of the RLM Submodules don't seem to pick up the include paths without
+## setting CFLAGS
+EXTRA_CFLAGS = -I/opt/csw/include
+#EXTRA_CFLAGS += -DIE_LIBTOOL_DIE
+#CONFIGURE_ENV = CFLAGS="$(CFLAGS)"
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += CC=$(CC) CXX=$(CXX) F77=$(F77) FC=$(FC)
+CONFIGURE_ARGS += CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)"
+CONFIGURE_ARGS += CPPFLAGS="$(CPPFLAGS)" FCFLAGS="$(FCFLAGS)"
+CONFIGURE_ARGS += LDFLAGS="$(LDFLAGS)"
+CONFIGURE_ARGS += --with-system-libtool
+CONFIGURE_ARGS += --with-system-libltld
CONFIGURE_ARGS += --without-rlm_sqlippool
-CONFIGURE_ARGS += --without-rlm_sql_mysql
+CONFIGURE_ARGS += --with-rlm_sql_mysql
CONFIGURE_ARGS += --without-rlm_sql_postgresql
CONFIGURE_ARGS += --without-rlm_sql_db2
CONFIGURE_ARGS += --without-rlm_sql_firebird
@@ -36,24 +47,28 @@
CONFIGURE_ARGS += --without-rlm_sql_iodbc
CONFIGURE_ARGS += --without-rlm_sql_oracle
CONFIGURE_ARGS += --without-rlm_sql_sybase
-CONFIGURE_ARGS += --without-rlm_sql_unixodbc
-CONFIGURE_ARGS += --without-rlm-ldap
+CONFIGURE_ARGS += --with-rlm_sql_unixodbc
+CONFIGURE_ARGS += --with-rlm-ldap
CONFIGURE_ARGS += --without-rlm_eap_ikev2
CONFIGURE_ARGS += --without-rlm_eap_sim
-CONFIGURE_ARGS += --without-rlm_eap_tls
+CONFIGURE_ARGS += --with-rlm_eap_tls
CONFIGURE_ARGS += --without-rlm_eap_peap
CONFIGURE_ARGS += --without-rlm_eap_ttls
CONFIGURE_ARGS += --without-rlm_eap_tnc
-CONFIGURE_ARGS += --without-rlm_krb5
+CONFIGURE_ARGS += --with-rlm_krb5
CONFIGURE_ARGS += --without-rlm_dbm
CONFIGURE_ARGS += --without-rlm_otp
-CONFIGURE_ARGS += --without-rlm_pam
-CONFIGURE_ARGS += --without-rlm_python
-CONFIGURE_ARGS += --without-snmp
+CONFIGURE_ARGS += --with-rlm_pam
+CONFIGURE_ARGS += --with-rlm_python
+CONFIGURE_ARGS += --with-snmp
+CONFIGURE_ARGS += --with-rlm_counter-include-dir=/opt/csw/include
+CONFIGURE_ARGS += --with-rlm_counter-lib-dir=/opt/csw/lib/$(MM_LIBDIR)
# No tests available
TEST_TARGET =
+INSTALL_ARGS += R=$(DESTDIR)
+
include gar/category.mk
PATH := /opt/csw/gnu:$(PATH)
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