From owner-cvs-ports Fri Aug 16 14:54:10 1996 Return-Path: owner-cvs-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA21359 for cvs-ports-outgoing; Fri, 16 Aug 1996 14:54:10 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA21350 for ; Fri, 16 Aug 1996 14:54:05 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id OAA10989; Fri, 16 Aug 1996 14:53:47 -0700 (PDT) Date: Fri, 16 Aug 1996 14:53:47 -0700 (PDT) Message-Id: <199608162153.OAA10989@silvia.HIP.Berkeley.EDU> To: erich@lodgenet.com CC: ports@freebsd.org, cvs-ports@freefall.freebsd.org In-reply-to: <199608161358.IAA01771@jake.lodgenet.com> (erich@lodgenet.com) Subject: Re: cvs commit: ports/games/xblackjack - Imported sources From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * Both this port and xmmix, grab the motif library from * imake's Motif.. I kind of expect that the * port building machine's imake files have been hacked to * use ${MOTIFLIB} so that STATIC_MOTIF works correctly. * Could someone verify this for me please. ??? === >> cat games/xblackjack/patch-aa --- Imakefile~ Thu Aug 1 21:41:28 1996 +++ Imakefile Thu Aug 1 21:41:43 1996 @@ -54,7 +54,7 @@ /* * You may need to remove -lbsd. */ - EXTRA_LIBRARIES = -lXm $(DEPLIBS) -lbsd + EXTRA_LIBRARIES = -lXm -lXt -lXmu -lXext -lX11 #endif /* : === That seems like a perfect place to substitute "${MOTIFLIB}" for "-lXm".... Anyway, no, our Motif building machine (which is still down btw, hello, Jordaaaaannn.... :) doesn't have any hacks, it is not only us that might want to build static packages. This is a guideline for libraries: (1) If you see a "-lXm" anywhere in Imakefile or Makefile, substitute it with "${MOTIFLIB}". (2) If you don't, and your Imakefile contains "XmClientLibs", then change that to "${MOTIFLIB} XawClientLibs". I'm not sure if these will cover all the bases, but are the only ones I've seen so far. Additions welcome. Satoshi