[MacPorts] #68629: xterm doesn't compile
MacPorts
noreply at macports.org
Fri Nov 3 13:07:12 UTC 2023
#68629: xterm doesn't compile
-----------------------------+--------------------
Reporter: marcopeereboom | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
-----------------------------+--------------------
Description changed by marcopeereboom:
Old description:
> It's an easy fix. Basically it needs `--with-pcre2` during `configure`
> and remove `DarwinMachineDefines` from `CFLAGS`.
>
> I don't know how macports work hence I reported it instead of sending a
> fix.
>
> Thanks for the great work!
>
> ```
> --- Makefile.old 2023-11-03 13:02:36
> +++ Makefile 2023-11-03 13:03:24
> @@ -66,7 +66,7 @@ CFLAGS = -g -O2 -Qunused-arguments -Wno-
> error=implici
>
> PIXMAPDIR_DEF = -DPIXMAP_ROOTDIR=\"${datadir}/pixmaps/\"
> CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H -D_DARWIN_C_SOURCE
> -I/opt/local/include -I. -I/opt/local/include/freetype2
> -I/opt/local/include/freetype2/config -D__DARWIN__ -DNO_ALLOCA
> -DCSRG_BASED -DXFREE86_FT2 -DUTMP -DOSMAJORVERSION=23
> -DOSMINORVERSION=1 -I/opt/local/include -DDEFCLASS=\"XTerm\"
> $(PIXMAPDIR_DEF) $(EXTRA_CPPFLAGS)
> -CFLAGS = -g -O2 -Qunused-arguments -Wno-error=implicit-function-
> declaration DarwinMachineDefines $(EXTRA_CFLAGS)
> +CFLAGS = -g -O2 -Qunused-arguments -Wno-error=implicit-function-
> declaration $(EXTRA_CFLAGS)
> LDFLAGS =
> LIBS = -kpcre2-posix -lXext -lutil -lXaw7 -L/opt/local/lib
> -lXmu -lXinerama -lXpm -L/opt/local/lib -lXt -lX11 -lSM -lICE -ltermcap
>
> ```
New description:
It's an easy fix. Basically it needs `--with-pcre2` during `configure` and
remove `DarwinMachineDefines` from `CFLAGS`.
I don't know how macports work hence I reported it instead of sending a
fix.
Thanks for the great work!
{{{
--- Makefile.old 2023-11-03 13:02:36
+++ Makefile 2023-11-03 13:03:24
@@ -66,7 +66,7 @@ CFLAGS = -g -O2 -Qunused-arguments -Wno-
error=implici
PIXMAPDIR_DEF = -DPIXMAP_ROOTDIR=\"${datadir}/pixmaps/\"
CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H -D_DARWIN_C_SOURCE
-I/opt/local/include -I. -I/opt/local/include/freetype2
-I/opt/local/include/freetype2/config -D__DARWIN__ -DNO_ALLOCA
-DCSRG_BASED -DXFREE86_FT2 -DUTMP -DOSMAJORVERSION=23
-DOSMINORVERSION=1 -I/opt/local/include -DDEFCLASS=\"XTerm\"
$(PIXMAPDIR_DEF) $(EXTRA_CPPFLAGS)
-CFLAGS = -g -O2 -Qunused-arguments -Wno-error=implicit-function-
declaration DarwinMachineDefines $(EXTRA_CFLAGS)
+CFLAGS = -g -O2 -Qunused-arguments -Wno-error=implicit-function-
declaration $(EXTRA_CFLAGS)
LDFLAGS =
LIBS = -kpcre2-posix -lXext -lutil -lXaw7 -L/opt/local/lib
-lXmu -lXinerama -lXpm -L/opt/local/lib -lXt -lX11 -lSM -lICE -ltermcap
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/68629#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list