Skip site navigation (1)Skip section navigation (2)
Date:      10 Sep 1999 14:58:14 +0200
From:      Thomas Gellekum <tg@ihf.rwth-aachen.de>
To:        asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami)
Cc:        chuckr@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/graphics/plotutils Makefile
Message-ID:  <kqogfaly8p.fsf@zabagek.ihf.rwth-aachen.de>
In-Reply-To: asami@FreeBSD.ORG's message of "10 Sep 1999 05:28:25 -0700"
References:  <199909101220.FAA05936@freefall.freebsd.org> <vqc1zc7j6hi.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-=-=

asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) writes:

>  *   Note that this port still doesn't build right (it needs to use ${MOTIFLIB}
>  *   instead of -lXm).
> 
> Chuck (or anyone), please add a patch to substitute -lXm with
> ${MOTIFLIB}.  (If you don't know what I'm talking about, it's in the
> handbook....)

Try the patch below. As a side effect, it upgrades the port to
2.2. patch-a[ab] are gone, patch-ac is new.

tg


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=plotutils.diff

? work
? patches/wech.patch-aa
? patches/patch-ac
? patches/wech.patch-ab
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/plotutils/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	1999/01/27 07:41:14	1.5
+++ Makefile	1999/09/10 12:52:29
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	plotutils
-# Version required:	2.1.1
+# Version required:	2.2
 # Date created:		19 June 1998
 # Whom:			Chuck Robey (chuckr)
 #
-# $Id: Makefile,v 1.4 1998/11/28 02:18:41 asami Exp $
+# $Id: Makefile,v 1.5 1999/01/27 07:41:14 fenner Exp $
 #
 
-DISTNAME=	plotutils-2.1.1
+DISTNAME=	plotutils-2.2
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	plotutils
@@ -14,10 +14,13 @@
 MAINTAINER=	chuckr@FreeBSD.ORG
 
 USE_XLIB=	yes
+USE_LIBTOOL=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-libplotter
 
 .ifdef HAVE_MOTIF
-CONFIGURE_ARGS=	--with-motif
+CONFIGURE_ARGS+=	--with-motif
+CONFIGURE_ENV=	MOTIFLIB="${MOTIFLIB}"
 .endif
 
 post-install:
Index: files/md5
===================================================================
RCS file: /home/ncvs/ports/graphics/plotutils/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1998/06/20 03:09:11	1.1.1.1
+++ md5	1999/09/10 12:52:29
@@ -1 +1 @@
-MD5 (plotutils-2.1.1.tar.gz) = 5454fc866aff4360cab70d0ef831b12d
+MD5 (plotutils-2.2.tar.gz) = e4b2883999ce1300285507727dde54d9
Index: pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/graphics/plotutils/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	1998/10/05 03:02:07	1.2
+++ PLIST	1999/09/10 12:52:29
@@ -1,9 +1,11 @@
-bin/spline
 bin/double
+bin/graph
 bin/ode
+bin/pic2plot
 bin/plot
+bin/plotfont
+bin/spline
 bin/tek2plot
-bin/graph
 share/ode/README
 share/ode/atwoods.ode
 share/ode/bead.ode
@@ -24,11 +26,10 @@
 share/libplot/README
 share/libplot/colors.txt
 share/libplot/demo-page
-share/libplot/hershey-demo.c
-share/libplot/hershey-fonts
-share/libplot/hershey-number
+share/libplot/h-demo.c
+share/libplot/h-fonts.doc
+share/libplot/h-glyphs.doc
 share/libplot/hershey.bib
-share/libplot/hershey.doc
 share/libplot/kana.doc
 share/libplot/kanji.doc
 share/tek2plot/README
@@ -42,12 +43,16 @@
 share/tek2plot/skymap.tek
 share/tek2plot/usmap.tek
 lib/libplot.so
-lib/libplot.so.1
+lib/libplot.so.2
 lib/libplot.a
-lib/libplot.la
+lib/libplotter.so
+lib/libplotter.so.2
+lib/libplotter.a
 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 include/plot.h
+include/plotcompat.h
+include/plotter.h
 @unexec install-info --delete --info-dir=/usr/local/info /usr/local/info/plotutils.info
 info/plotutils.info
 @exec install-info --info-dir=/usr/local/info /usr/local/info/plotutils.info

--=-=-=



--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=patch-ac

--- configure.orig	Fri Sep 10 14:44:14 1999
+++ configure	Fri Sep 10 14:43:09 1999
@@ -4189,7 +4189,7 @@
 # Check whether --with-motif or --without-motif was given.
 if test "${with_motif+set}" = set; then
   withval="$with_motif"
-  X_TOOLKIT_LIBS="-lXm $X_TOOLKIT_LIBS"; echo $ac_n "checking for XpQueryExtension in -lXp""... $ac_c" 1>&6
+  X_TOOLKIT_LIBS="${MOTIFLIB} $X_TOOLKIT_LIBS"; echo $ac_n "checking for XpQueryExtension in -lXp""... $ac_c" 1>&6
 echo "configure:4194: checking for XpQueryExtension in -lXp" >&5
 ac_lib_var=`echo Xp'_'XpQueryExtension | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then

--=-=-=--


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




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