freebsd-ports/lang/xds-c/files/patch-bin__xmwork
Alejandro Pulver afc2ac7b57 - Do not echo post-build command.
- Show pkg-message in post-install target [1].
- Use shell globbing pattern in script patch.

PR:		ports/109295
Submitted by:	Alexander Shiryaev <coumarin@gmail.com>
Forgotten by:	alepulver (myself) [1]
2007-02-18 23:30:33 +00:00

20 lines
713 B
Text

--- bin/xmwork.orig Mon May 18 16:24:50 1998
+++ bin/xmwork Sun Feb 18 21:23:15 2007
@@ -1,11 +1,12 @@
+#!/bin/sh
+
echo ' creating directory structure...'
mkdir ch def obj src sym
echo ' creating redirection file...'
-echo >xm.red 'xm.msg = $(XDSDIR)/bin'
-echo >>xm.red 'xm.cfg = $(XDSDIR)/bin'
-echo >>xm.red '*.tem = $(XDSDIR)/bin'
-echo >>xm.red '*.a = $(XDSDIR)/lib/C'
-echo >>xm.red '*.sym = $!/sym;$(XDSDIR)/sym/C'
+echo >xm.red 'xm.* = %%XDSDIR%%/bin'
+echo >>xm.red '*.tem = %%XDSDIR%%/bin'
+echo >>xm.red '*.a = %%XDSDIR%%/lib/C'
+echo >>xm.red '*.sym = $!/sym;%%XDSDIR%%/sym/C'
echo >>xm.red '*.o = $!/obj'
echo >>xm.red '*.def = $!/def'
echo >>xm.red '*.mod = $!/src'