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

guengel at users.sourceforge.net guengel at users.sourceforge.net
Mon Sep 23 09:20:16 CEST 2013


Revision: 21986
          http://gar.svn.sourceforge.net/gar/?rev=21986&view=rev
Author:   guengel
Date:     2013-09-23 07:20:16 +0000 (Mon, 23 Sep 2013)
Log Message:
-----------
zlib/trunk: Use bash instead of sh in configure script.

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

Modified: csw/mgar/pkg/zlib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/zlib/trunk/Makefile	2013-09-22 14:26:38 UTC (rev 21985)
+++ csw/mgar/pkg/zlib/trunk/Makefile	2013-09-23 07:20:16 UTC (rev 21986)
@@ -51,4 +51,12 @@
 CONFIGURE_ARGS += --includedir=$(includedir)
 CONFIGURE_ARGS += --shared
 
+# By default, the configure script uses /bin/sh
+# which gives trouble when expanding $mandir, i.e.
+# we end up with man pages installed into
+#  /opt/csw/share/man/share/man}
+REINPLACE_MATCH = ^\#!/bin/sh
+REINPLACE_WITH  = \#!$(prefix)/bin/bash
+REINPLACE_FILES = configure
+
 include gar/category.mk

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