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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Oct 4 13:13:42 CEST 2010


Revision: 11141
          http://gar.svn.sourceforge.net/gar/?rev=11141&view=rev
Author:   dmichelsen
Date:     2010-10-04 11:13:41 +0000 (Mon, 04 Oct 2010)

Log Message:
-----------
bison: Add overrides

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

Modified: csw/mgar/pkg/bison/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bison/trunk/Makefile	2010-10-04 10:11:46 UTC (rev 11140)
+++ csw/mgar/pkg/bison/trunk/Makefile	2010-10-04 11:13:41 UTC (rev 11141)
@@ -22,22 +22,23 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
-# TAR_ARGS =
-# OPT_FLAGS_SOS = -xO1
 CONFIGURE_ARGS = $(DIRPATHS)
 
 TEST_TARGET = check
 
 EXTRA_MERGE_EXCLUDE_FILES = $(libdir)/charset\.alias
 
+# I guess we really need these
+CHECKPKG_OVERRIDES_CSWbison += surplus-dependency|CSWgm4
+CHECKPKG_OVERRIDES_CSWbison += surplus-dependency|CSWiconv
+
 include gar/category.mk
 
 # Must use GNU grep during test
 PATH := /opt/csw/gnu:$(PATH)
 
-#post-install-modulated:
-#	(cd $(DESTDIR)$(prefix)/bin; \
-#	/usr/ccs/bin/strip bison; \
-#	/usr/ccs/bin/mcs -d bison; \
-#	mv yacc gyacc)
-#	@$(MAKECOOKIE)
+post-install-modulated:
+	mv $(DESTDIR)$(bindir)/yacc $(DESTDIR)$(bindir)/gyacc
+	ginstall -d $(DESTDIR)$(prefix)/gnu
+	ln -s ../bin/gyacc $(DESTDIR)$(prefix)/gnu/yacc
+	@$(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