[csw-devel] SF.net SVN: gar:[5504] csw/mgar/pkg/libserf/trunk/Makefile

rthurner at users.sourceforge.net rthurner at users.sourceforge.net
Sat Jul 4 19:35:13 CEST 2009


Revision: 5504
          http://gar.svn.sourceforge.net/gar/?rev=5504&view=rev
Author:   rthurner
Date:     2009-07-04 17:35:13 +0000 (Sat, 04 Jul 2009)

Log Message:
-----------
libserf: add mwatters post-configure-modulated to prevent bdb linking

Modified Paths:
--------------
    csw/mgar/pkg/libserf/trunk/Makefile

Modified: csw/mgar/pkg/libserf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libserf/trunk/Makefile	2009-07-04 16:05:06 UTC (rev 5503)
+++ csw/mgar/pkg/libserf/trunk/Makefile	2009-07-04 17:35:13 UTC (rev 5504)
@@ -23,13 +23,18 @@
 # UPSTREAM_MASTER_SITES = 
 
 DEPENDS = server/apache2rt
-STRIP_LIBTOOL = 1
 
 CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --with-apr=$(prefix)/apache2
-CONFIGURE_ARGS += --with-apr-util=$(prefix)/apache2
-#CONFIGURE_ARGS += --with-apr=$(prefix)/apache2/bin/apr-config
-#CONFIGURE_ARGS += --with-apr-util=$(prefix)/apache2/bin/apu-config
+CONFIGURE_ARGS += --with-apr=$(prefix)/apache2/bin/apr-config
+CONFIGURE_ARGS += --with-apr-util=$(prefix)/apache2/bin/apu-config
 
 TEST_TARGET = check
 include gar/category.mk
+
+EXTRA_LDFLAGS = -R/opt/csw/bdb44/lib
+APR_LIBTOOL = $(shell /opt/csw/apache2/bin/apr-config --apr-libtool)
+post-configure-modulated:
+	gcp $(APR_LIBTOOL) $(WORKSRC)
+	perl -i -pne 's|$(APR_LIBTOOL)|$(abspath $(WORKSRC)/libtool)|' $(WORKSRC)/Makefile
+	$(GARBIN)/fixlibtool $(WORKSRC)
+	@$(MAKECOOKIE)


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