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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Tue Mar 31 22:46:15 CEST 2009


Revision: 4120
          http://gar.svn.sourceforge.net/gar/?rev=4120&view=rev
Author:   skayser
Date:     2009-03-31 20:46:15 +0000 (Tue, 31 Mar 2009)

Log Message:
-----------
axel: fixed $(CFLAGS)

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

Modified: csw/mgar/pkg/axel/trunk/Makefile
===================================================================
--- csw/mgar/pkg/axel/trunk/Makefile	2009-03-31 19:57:09 UTC (rev 4119)
+++ csw/mgar/pkg/axel/trunk/Makefile	2009-03-31 20:46:15 UTC (rev 4120)
@@ -29,8 +29,15 @@
 
 include gar/category.mk
 
+# ./configure is not your usual kind of configure ...
+post-configure-modulated:
+	@perl -pi -e 's|-g -Os||' $(WORKSRC)/Makefile.settings
+	@echo CFLAGS+=$(CFLAGS) >> $(WORKSRC)/Makefile.settings
+	@$(MAKECOOKIE)
+
 pre-build-modulated:
 	@perl -pi -e 's/-Wall//g' $(WORKSRC)/Makefile
+	@$(MAKECOOKIE)
 
 post-install-modulated:
 	@perl -pi -e "s#/etc/axelrc#$(sysconfdir)/axelrc#" \
@@ -38,3 +45,4 @@
 		$(DESTDIR)$(mandir)/zh_CN/man1/axel.1
 	@mv $(DESTDIR)$(sysconfdir)/axelrc \
 		$(DESTDIR)$(sysconfdir)/axelrc.CSW
+	@$(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