[csw-devel] SF.net SVN: gar:[4976] csw/mgar/pkg/openjade/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Wed May 20 05:20:57 CEST 2009
Revision: 4976
http://gar.svn.sourceforge.net/gar/?rev=4976&view=rev
Author: bdwalton
Date: 2009-05-20 03:20:57 +0000 (Wed, 20 May 2009)
Log Message:
-----------
Work around libtool that can't be short circuited with fixlibtool.
Now that opensp doesn't provide .la files, special handling is required
to build.
Modified Paths:
--------------
csw/mgar/pkg/openjade/trunk/Makefile
Modified: csw/mgar/pkg/openjade/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openjade/trunk/Makefile 2009-05-20 01:55:18 UTC (rev 4975)
+++ csw/mgar/pkg/openjade/trunk/Makefile 2009-05-20 03:20:57 UTC (rev 4976)
@@ -35,6 +35,8 @@
CONFIGURE_ARGS = $(DIRPATHS) --disable-static
CONFIGURE_ARGS += --datadir=$(datadir)/sgml/$(GARNAME)
CONFIGURE_ARGS += --enable-splibdir=$(libdir)
+CONFIGURE_ARGS += --enable-default-catalog=/opt/csw/etc/sgml/catalog
+CONFIGURE_ARGS += --disable-static
TEST_SCRIPTS =
@@ -42,15 +44,22 @@
include gar/category.mk
-#squish the pesky post strip la files...
-MERGE_EXCLUDE_DEFAULT += $(libdir)/.*\.la\~
-
sgmldir = $(DESTDIR)/$(datadir)/sgml/$(GARNAME)
sgmldoc = $(DESTDIR)/$(docdir)/$(GARNAME)
INSTALL = /opt/csw/bin/ginstall -c
INSTALL_DATA = $(INSTALL) -m 0644
INSTALL_DIR = $(INSTALL) -m 0755 -d
+post-configure-modulated:
+ @(cd $(WORKSRC); \
+ mv libtool libtool.orig; \
+ echo 'ARGS=`echo "$$@" | gsed "s#/opt/csw/lib/libosp.la#/opt/csw/lib/libosp.so#g"`' >> libtool; \
+ echo $$PWD/$(WORKSRC)'/libtool.orig $$ARGS' >> libtool; \
+ chmod 755 libtool; \
+ echo '/opt/csw/lib/libosp.la:' > jade/Makefile.dep; \
+ echo ' /bin/true' >> jade/Makefile.dep )
+ @$(MAKECOOKIE)
+
post-install-modulated:
@echo Installing catalog files.
@( cd $(WORKSRC); \
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