The current Xaw3d in ports is an older and unmaintained version from a Slackware repository. I was able to get the official version from X.org which is newer.
This is all I was able to get so far. It downloads and builds from the Xorg repositories in /usr/ports/Mk/. They have the same contents as https://gitlab.freedesktop.org/xorg/lib/libxaw3d/-/tree/libXaw3d-1.6.3/src. The Makefile gets the zipped file automatically by the PORTNAME, so it doesn't need MASTER_SITES=.
After some basic porting steps,
After this, I need to add a CONFLICTS= argument for the other xaw3d in ports. When enough works with this port, hopefully remove the obsolete or unofficial port. Without the post-install part, it causes more errors from
x11-toolkits/Xaw3d is the old port, and it uses http://slackware.cs.utah.edu/pub/slackware/slackware64-13.1/source/x/xaw3d/. The port description is out of date too, as maintenance of the official project has passed on to someone else, then it was maintained since 2012 by X.org. That could be fixed, but the port is more outdated than that.
Code:
# Created:
PORTNAME= libXaw3d
PORTVERSION= 1.6.3
CATEGORIES= x11-toolkits
MAINTAINER=
COMMENT= X Athena Widgets 3D library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake xorg xorg-cat:lib
USE_XORG= x11 xau xext xmu xpm xorgproto xt xau sm ice
CONFIGURE_ARGS= --without-xmlto
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXaw3d.so
.include <bsd.port.mk>
After some basic porting steps,
make stage
and make stage-qa
don't produce errors. make
didn't produce errors either. make package
or make install
produce errors.
Code:
j-x11:/opt/libXaw3d # make package
===> Building package for libXaw3d-1.6.3
[: =: unexpected operator
pkg-static: Invalid package: object has missing property prefix
pkg-static: the package is not valid
pkg-static: package creation failed
*** Error code 1
Stop.
make: stopped in /opt/libXaw3d
make stage-qa
and make install
. I'm unsure if this installs to the correct location.x11-toolkits/Xaw3d is the old port, and it uses http://slackware.cs.utah.edu/pub/slackware/slackware64-13.1/source/x/xaw3d/. The port description is out of date too, as maintenance of the official project has passed on to someone else, then it was maintained since 2012 by X.org. That could be fixed, but the port is more outdated than that.