[MacPorts] #4136: BUG: Fortune will not compile; missing regex.h
MacPorts
noreply at macports.org
Thu Mar 24 04:29:44 PDT 2016
#4136: BUG: Fortune will not compile; missing regex.h
-----------------------+--------------------
Reporter: sigint@… | Owner: toby@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: fortune |
-----------------------+--------------------
Changes (by ryandesign@…):
* port: => fortune
Old description:
> I applied the patch supplied in Bug #3010, and got fortune to install.
>
> When I run /opt/local/bin/nethack now, I get the following output (and no
> nethack):
>
> /opt/local/bin/nethack: line 51: cd: /opt/local/var/db/dports/build/
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/
> work/destroot/opt/local/share/nethackdir: No such file or directory
> /opt/local/bin/nethack: line 57: /opt/local/var/db/dports/build/
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/
> work/destroot/opt/local/share/nethackdir/nethack: No such file or
> directory
> /opt/local/bin/nethack: line 57: exec: /opt/local/var/db/dports/build/
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/
> work/destroot/opt/local/share/nethackdir/nethack: cannot execute: No such
> file or directory
>
> I made it work by manually hacking /opt/local/bin/nethack thusly:
>
> --- nethack~ 2005-07-27 01:19:06.000000000 +1000
> +++ nethack 2005-07-27 01:17:58.000000000 +1000
> @@ -1,7 +1,8 @@
> #!/bin/sh
> # SCCS Id: @(#)nethack.sh 3.4 1990/02/26
>
> -HACKDIR=/opt/local/var/db/dports/build/
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/
> work/destroot/opt/local/share/nethackdir
> +HACKDIR=/opt/local/share/nethackdir
> export HACKDIR
> HACK=$HACKDIR/nethack
> MAXNROFPLAYERS=4
>
> I'm pretty sure the manual hacking I did on termcap.c didn't cause this,
> so I thought I'd post the
> problem/solution to make it googleable/reusable. If it's caused by my
> tinkering/stupidity, I'm sorry for
> spamming you.
>
> Thanks,
> -s
New description:
I applied the patch supplied in Bug #3010, and got fortune to install.
When I run /opt/local/bin/nethack now, I get the following output (and no
nethack):
{{{
/opt/local/bin/nethack: line 51: cd:
/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/work/destroot/opt/local/share/nethackdir:
No such file or directory
/opt/local/bin/nethack: line 57:
/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/work/destroot/opt/local/share/nethackdir/nethack:
No such file or directory
/opt/local/bin/nethack: line 57: exec:
/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/work/destroot/opt/local/share/nethackdir/nethack:
cannot execute: No such file or directory
}}}
I made it work by manually hacking /opt/local/bin/nethack thusly:
{{{
--- nethack~ 2005-07-27 01:19:06.000000000 +1000
+++ nethack 2005-07-27 01:17:58.000000000 +1000
@@ -1,7 +1,8 @@
#!/bin/sh
# SCCS Id: @(#)nethack.sh 3.4 1990/02/26
-HACKDIR=/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/work/destroot/opt/local/share/nethackdir
+HACKDIR=/opt/local/share/nethackdir
export HACKDIR
HACK=$HACKDIR/nethack
MAXNROFPLAYERS=4
}}}
I'm pretty sure the manual hacking I did on termcap.c didn't cause this,
so I thought I'd post the
problem/solution to make it googleable/reusable. If it's caused by my
tinkering/stupidity, I'm sorry for
spamming you.
Thanks,\\
-s
--
--
Ticket URL: <https://trac.macports.org/ticket/4136#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list