SF.net SVN: gar:[22491] csw/mgar/pkg/krb5-lib/trunk/Makefile

lblume at users.sourceforge.net lblume at users.sourceforge.net
Wed Nov 13 14:42:00 CET 2013


Revision: 22491
          http://gar.svn.sourceforge.net/gar/?rev=22491&view=rev
Author:   lblume
Date:     2013-11-13 13:42:00 +0000 (Wed, 13 Nov 2013)
Log Message:
-----------
krb5-lib/trunk: Commit the BDB bit before removing them

Modified Paths:
--------------
    csw/mgar/pkg/krb5-lib/trunk/Makefile

Modified: csw/mgar/pkg/krb5-lib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/krb5-lib/trunk/Makefile	2013-11-13 13:32:40 UTC (rev 22490)
+++ csw/mgar/pkg/krb5-lib/trunk/Makefile	2013-11-13 13:42:00 UTC (rev 22491)
@@ -22,7 +22,9 @@
 
 GARCOMPILER = GCC4
 
+BUILD_DEP_PKGS += CSWggettext
 BUILD_DEP_PKGS += CSWtcl
+BUILD_DEP_PKGS += CSWbdb48devel
 
 PACKAGES += CSWlibkrb5-dev
 SPKG_DESC_CSWlibkrb5-dev      = MIT Kerberos 5 developer libraries
@@ -111,8 +113,8 @@
 LICENSE = doc/copyright.rst
 
 EXTRA_CFLAGS   += -std=gnu99
-EXTRA_CPPFLAGS += -D__EXTENSIONS__ 
-EXTRA_LDFLAGS  += -L$(libdir) -lintl 
+EXTRA_CPPFLAGS += -D__EXTENSIONS__ -I$(prefix)/bdb48/include
+EXTRA_LDFLAGS  += -L$(libdir) -lintl -L$(prefix)/bdb48/lib/$(MM_LIBDIR) -R$(prefix)/bdb48/lib/$(MM_LIBDIR)
 
 CONFIGURE_SCRIPTS = $(WORKSRC)/src/configure
 
@@ -129,8 +131,8 @@
 CONFIGURE_ARGS += --with-system-db
 # To pick the right tclConfig.sh
 CONFIGURE_ARGS += --with-tcl=$(libdir)
-CONFIGURE_ARGS += DB_HEADER=$(prefix)/bdb48/include/db_185.h
-CONFIGURE_ARGS += DB_LIB="-L$(prefix)/bdb48/$(MM_LIBDIR) -R$(prefix)/bdb48/$(MM_LIBDIR)"
+CONFIGURE_ARGS += DB_HEADER=db_185.h
+CONFIGURE_ARGS += DB_LIB="-ldb-4.8"
 
 SKIPTEST = 1
 
@@ -152,7 +154,6 @@
 
 post-install-modulated:
 	# Remove Studio-specific arch references
-
 	gsed -i \
 		-e '/^[^#]/s/-xO[0-5][^ ]* *//g' \
 		-e '/^[^#]/s/-xarch=[^ ]* *//g' \

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