Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2003 13:00:29 -0800 (PST)
From:      "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/48776: new port x11-toolkits/SoXt
Message-ID:  <200302282100.h1SL0TlL019741@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/48776; it has been noted by GNATS.

From: "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
To: Roland Jesse <roland.jesse@gmx.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/48776: new port x11-toolkits/SoXt
Date: Fri, 28 Feb 2003 21:59:29 +0100

 --+V(g=.mcHE)94Jno
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Lately Roland Jesse told:
 
 > sed 's/^X//' >SoXt/Makefile << 'END-of-SoXt/Makefile'
 > X# New ports collection makefile for:	SoXt
 > X# Date created:				28 February 2003
 > X# Whom:					roland.jesse@gmx.net
 > X#
 > X# $FreeBSD$
 > X#
 > X
 > XPORTNAME=	SoXt
 
 use lowercase? see porter's handbook
 
 > XPORTVERSION=	20021107
 > XCATEGORIES=	x11-toolkits
 > XMASTER_SITES=	ftp://ftp.coin3d.org/pub/coin/src/snapshots/
 > X
 > XMAINTAINER=	roland.jesse@gmx.net
 > XCOMMENT=	GUI binding for using Open Inventor with Xt/Motif
 > X
 > XLIB_DEPENDS+=	Coin.20:${PORTSDIR}/graphics/Coin
 
 += is not good if this should be used as dependency for other ports.
 better use just =
 
 > XWRKSRC=		${WRKDIR}/SoXt
 > XUSE_MESA=	yes
 > XUSE_MOTIF=	yes
 > XUSE_X_PREFIX=	yes
 > XUSE_LIBTOOL=	yes
 > XCONFIGURE_ENV+=	CXXFLAGS="-pthread"
 
 ${PTHREAD_CFLAGS} and/or ${PTHREAD_LIBS}
 are you sure about CXXFLAGS? -pthread looks more like LIBS
 
 > XCONFIGURE_ARGS+=	--prefix=${X11BASE} --with-pthread=yes --with-coin=${X11BASE}
 
 you want:
 CONFIGURE_ARGS=		--with-pthread-yes --with-coin=${X11BASE}
 
 > XINSTALLS_SHLIB=	yes
 > XMAN1=		soxt-config.1
 > XMANCOMPRESSED=	yes
 
 looking below i guess you either want "maybe" or "no", certainly not
 "yes"
 
 > Xpost-install:
 > X	${MV} ${PREFIX}/bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-soxt-config ${PREFIX}/bin/soxt-config
 > X	${MV} ${PREFIX}/man/man1/${MACHINE_ARCH}-portbld-freebsd${OSREL}-soxt-config.1 ${PREFIX}/man/man1/soxt-config.1
 
 to prevent this, use:
 CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 > sed 's/^X//' >SoXt/pkg-descr << 'END-of-SoXt/pkg-descr'
 > XFrom the README:
 > X
 
 doubt this is needed. porters copy from README most of the time :D
 
 [...]
 > sed 's/^X//' >SoXt/pkg-plist << 'END-of-SoXt/pkg-plist'
 [...]
 > Xlib/libSoXt.la
 
 try and remove creation of this .la file, maybe by patching 
 ${WRKSRC}/configure (of course except this is needed)
 
 [...]
 > X@dirrm share/Coin/conf
 > X@dirrm share/Coin
 > X@dirrm share
 
 no. this is removed by the coin port
 
 cheers
   simon
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 --+V(g=.mcHE)94Jno
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.0 (GNU/Linux)
 
 iD8DBQE+X822r5S+dk6z85oRAhmTAJ4xsDLQKwBGKm4L87sMrnlyGVcDxACfbVIS
 vBOU/fLNCyDw0ZoRUVBea9U=
 =0z2h
 -----END PGP SIGNATURE-----
 
 --+V(g=.mcHE)94Jno--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302282100.h1SL0TlL019741>