[csw-devel] SF.net SVN: gar:[5230] csw/mgar/pkg/dante/trunk/Makefile
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Thu Jun 11 15:07:12 CEST 2009
Revision: 5230
http://gar.svn.sourceforge.net/gar/?rev=5230&view=rev
Author: skayser
Date: 2009-06-11 13:07:11 +0000 (Thu, 11 Jun 2009)
Log Message:
-----------
dante: work around broken ./configure debug flags handling
Modified Paths:
--------------
csw/mgar/pkg/dante/trunk/Makefile
Modified: csw/mgar/pkg/dante/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dante/trunk/Makefile 2009-06-11 11:17:01 UTC (rev 5229)
+++ csw/mgar/pkg/dante/trunk/Makefile 2009-06-11 13:07:11 UTC (rev 5230)
@@ -78,6 +78,17 @@
# $(WORKSRC)/include/common.h
# @$(MAKECOOKIE)
+
+post-configure-modulated:
+ # Get rid of -misalign which is meant for /usr/ucb/cc
+ @perl -pi -e 's|-misalign || if /^CFLAGS =/' $(WORKSRC)/*/Makefile
+ifneq ($(GARFLAVOR),DBG)
+ # Get rid of -g.
+ # configure wants to use -g even if --disable-debugging (default)
+ @perl -pi -e 's#-(g|xs|xO0) ##g if /^CFLAGS =/' $(WORKSRC)/*/Makefile
+endif
+ @$(MAKECOOKIE)
+
post-install-libsocks: DOCDEST = $(DESTDIR)$(docdir)/libsocks
post-install-libsocks: DOCS = CREDITS NEWS SUPPORT
post-install-libsocks: CSWDOCS = README.CSW changelog.CSW
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