From owner-freebsd-ports Sun Mar 28 21:40:19 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5210314C8B for ; Sun, 28 Mar 1999 21:40:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id VAA66876; Sun, 28 Mar 1999 21:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from lambic.physics.montana.edu (lambic.physics.montana.edu [153.90.192.128]) by hub.freebsd.org (Postfix) with ESMTP id BA68214C8B for ; Sun, 28 Mar 1999 21:31:51 -0800 (PST) (envelope-from handy@lambic.physics.montana.edu) Received: (from handy@localhost) by lambic.physics.montana.edu (8.8.8/8.8.7) id WAA17041; Sun, 28 Mar 1999 22:31:29 -0700 (MST) (envelope-from handy) Message-Id: <199903290531.WAA17041@lambic.physics.montana.edu> Date: Sun, 28 Mar 1999 22:31:29 -0700 (MST) From: handy@lambic.physics.montana.edu Reply-To: handy@lambic.physics.montana.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10848: mgv -lXp diff Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10848 >Category: ports >Synopsis: mgv doesn't link without -lXp >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 28 21:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Brian Handy >Release: FreeBSD 3.1-STABLE i386 >Organization: Montana State University >Environment: Compiled on a 3.1 box with Apps2Go ELF Motif 2.1.10. >Description: /usr/ports/print/mgv doesn't link properly with the new version of Motif. It calls out a bunch of Xp* functions (I guess that's the right lingo) and the compile neatly falls over. I found the attached patch on the author's web page for this very problem. He states it will be added into the package in the next release, though I'm not sure when that will be. >How-To-Repeat: >Fix: diff -urN mgv.orig/patches/patch-ab mgv/patches/patch-ab --- mgv.orig/patches/patch-ab Wed Dec 31 17:00:00 1969 +++ mgv/patches/patch-ab Sun Mar 28 22:23:31 1999 @@ -0,0 +1,54 @@ +--- configure.orig Tue Oct 20 15:42:09 1998 ++++ configure Tue Oct 20 15:42:47 1998 +@@ -2067,11 +2067,11 @@ + ice_motif_save_LIBS="$LIBS" + ice_motif_save_CFLAGS="$CFLAGS" + ice_motif_save_CPPFLAGS="$CPPFLAGS" + ice_motif_save_LDFLAGS="$LDFLAGS" + # +-LIBS="$X_PRE_LIBS -lXm -lXt -lX11 $X_EXTRA_LIBS $LIBS" ++LIBS="$X_PRE_LIBS -lXm -lXp -lXext -lXt -lX11 $X_EXTRA_LIBS $LIBS" + CFLAGS="$X_CFLAGS $CFLAGS" + CPPFLAGS="$X_CFLAGS $CPPFLAGS" + LDFLAGS="$X_LIBS $LDFLAGS" + # + cat > conftest.$ac_ext <&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lXm ${X_PRE_LIBS} ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${XEXT_LIBS} ${X11_LIBS} $LIBS" ++LIBS="-lXm -lXp -lXext ${X_PRE_LIBS} ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${XEXT_LIBS} ${X11_LIBS} $LIBS" + cat > conftest.$ac_ext <&6 +- XM_LIBS="-lXm" ++ XM_LIBS="-lXm -lXp -lXext" + cat >> confdefs.h <<\EOF + #define HAVE_MOTIF 1 + EOF + + else >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message