From b413480c237fbb5d444269d9081e3007f4a63367 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Wed, 20 Aug 2003 02:56:45 +0000 Subject: Fix&Cleanup dependency on gd1 and some libs. Bump PORTREVISION acordingly. Spoted by: Pedro F. Giffuni --- graphics/dataplot/Makefile | 5 ++++- graphics/dataplot/files/Makefile.tmpl | 8 +------- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'graphics/dataplot') diff --git a/graphics/dataplot/Makefile b/graphics/dataplot/Makefile index ec581f1a6988..253cd0ed8cfd 100644 --- a/graphics/dataplot/Makefile +++ b/graphics/dataplot/Makefile @@ -7,6 +7,7 @@ PORTNAME= dataplot PORTVERSION= 20030530 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \ http://www.itl.nist.gov/div898/software/dataplot.html/:doc @@ -19,7 +20,9 @@ EXTRACT_ONLY= dataplot_source${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= A free software system for statistical visualization -BUILD_DEPENDS= ${LOCALBASE}/lib/libgd1.a:${PORTSDIR}/graphics/gd +LIB_DEPENDS= gd1:${PORTSDIR}/graphics/gd1 \ + png:${PORTSDIR}/graphics/png \ + jpeg:${PORTSDIR}/graphics/jpeg USE_XLIB= yes USE_REINPLACE= yes diff --git a/graphics/dataplot/files/Makefile.tmpl b/graphics/dataplot/files/Makefile.tmpl index 750cac9af24a..4a1a3c4e2842 100644 --- a/graphics/dataplot/files/Makefile.tmpl +++ b/graphics/dataplot/files/Makefile.tmpl @@ -19,13 +19,7 @@ LD = $(CC) LDFLAGS = -L%%LOCALBASE%%/lib -L%%X11BASE%%/lib -LIBS = %%X11BASE%%/lib/libX11.a \ - %%LOCALBASE%%/lib/libgd1.a \ - %%LOCALBASE%%/lib/libpng.a \ - /usr/lib/libz.a \ - %%LOCALBASE%%/lib/libjpeg.a \ - /usr/lib/libg2c.a \ - /usr/lib/libm.a +LIBS = -lgd1 -lpng -ljpeg -lX11 -lz -lg2c -lm MAKEFILE = Makefile -- cgit v1.2.3