[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-ports-bugs
Subject: ports/88163: Update port: devel/cmunge - fix broken script
From: Frerich Raabe <frerich.raabe () gmx ! de>
Date: 2005-10-28 23:42:47
Message-ID: 200510282342.j9SNglgB009421 () hex ! athame ! co ! uk
[Download RAW message or body]
> Number: 88163
> Category: ports
> Synopsis: Update port: devel/cmunge - fix broken script
> Confidential: no
> Severity: non-critical
> Priority: low
> Responsible: freebsd-ports-bugs
> State: open
> Quarter:
> Keywords:
> Date-Required:
> Class: maintainer-update
> Submitter-Id: current-users
> Arrival-Date: Fri Oct 28 23:50:17 GMT 2005
> Closed-Date:
> Last-Modified:
> Originator: Frerich Raabe
> Release: FreeBSD 5.4-STABLE i386
> Organization:
> Environment:
System: FreeBSD icarus.lan 5.4-STABLE FreeBSD 5.4-STABLE #6: Mon Oct 10 14:47:27 UTC 2005 \
frerich@icarus.lan:/usr/obj/usr/src/sys/IBMTPR51 i386
> Description:
The accompanying patch attempts to fix the devel/cmunge port so that
the cmunge script doesn't fail to locate the external programs anymore.
> How-To-Repeat:
> Fix:
diff -ruN /usr/ports/devel/cmunge/Makefile devel/cmunge/Makefile
--- /usr/ports/devel/cmunge/Makefile Thu Oct 27 14:09:19 2005
+++ devel/cmunge/Makefile Sat Oct 29 01:37:44 2005
@@ -7,6 +7,7 @@
PORTNAME= cmunge
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
DISTNAME= ${PORTNAME}
@@ -19,6 +20,11 @@
PLIST_FILES= bin/cmunge bin/ctran bin/proc-incl
PORTDOCS= *
+
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/cmunge
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ctran ${PREFIX}/bin
diff -ruN /usr/ports/devel/cmunge/files/patch-cmunge devel/cmunge/files/patch-cmunge
--- /usr/ports/devel/cmunge/files/patch-cmunge Thu Jan 1 00:00:00 1970
+++ devel/cmunge/files/patch-cmunge Sat Oct 29 01:23:04 2005
@@ -0,0 +1,17 @@
+--- cmunge.orig Sat Oct 29 01:22:28 2005
++++ cmunge Sat Oct 29 01:22:54 2005
+@@ -73,12 +73,12 @@
+ # ${cmunger}/bin, where ${cmunger} is the absolute pathname #
+ # of the `cmunger' directory. #
+ #===============================================================#
+-set cmunger_bin_dir = /vcpc_users/jhm/bin/cmunger/bin
++set cmunger_bin_dir = %%PREFIX%%/bin
+
+ #===============================================================#
+ # Substitute the pathname of the C pre-processor, `cpp', here...#
+ #===============================================================#
+-set cpp = /usr/ccs/lib/cpp
++set cpp = /usr/bin/cpp
+
+
+ set proc_incl = ${cmunger_bin_dir}/proc-incl
> Release-Note:
> Audit-Trail:
> Unformatted:
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic