Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 1996 14:53:47 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        erich@lodgenet.com
Cc:        ports@freebsd.org, cvs-ports@freefall.freebsd.org
Subject:   Re: cvs commit: ports/games/xblackjack - Imported sources
Message-ID:  <199608162153.OAA10989@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199608161358.IAA01771@jake.lodgenet.com> (erich@lodgenet.com)

next in thread | previous in thread | raw e-mail | index | archive | help
 * Both this port and xmmix, grab the motif library from
 * imake's Motif.<something>.  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



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