aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-11-08 07:28:20 +0800
committerasami <asami@FreeBSD.org>2000-11-08 07:28:20 +0800
commitc6a520f6cada8f214b5fae4b3a64dd3766bcc7a6 (patch)
treea231c9f0a623731d42f6401a6582004e4332cf70 /graphics
parent8a96405e11f66420af7a5706ae8aaee6764b18c6 (diff)
downloadfreebsd-ports-graphics-c6a520f6cada8f214b5fae4b3a64dd3766bcc7a6.tar.gz
freebsd-ports-graphics-c6a520f6cada8f214b5fae4b3a64dd3766bcc7a6.tar.zst
freebsd-ports-graphics-c6a520f6cada8f214b5fae4b3a64dd3766bcc7a6.zip
Change motif to a normal dependency. REQUIRES_MOTIF is now called
USE_MOTIF and generates a LIB_DEPENDS to x11-toolkits/open-motif. As before, it implies USE_XPM (and therefore USE_XLIB). Motif-dummy is removed from PKG_IGNORE_DEPENDS, whose sole resident is now XFree86-3. Most of the simple ".if defined(HAVE_MOTIF)"s are removed to always have USE_MOTIF. ftp/moxftp will define USE_MOTIF unless WANT_ATHENA_VERSION (new variable) is defined. I merged the X cases in cad/mars, so USE_MOTIF is used iff WITHOUT_X11 is not defined. I will remove x11-toolkits/Motif-dummy (which has been repo copied to open-motif) in a few days.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/geomview/Makefile2
-rw-r--r--graphics/mpeg2play/Makefile2
-rw-r--r--graphics/opendx/Makefile2
-rw-r--r--graphics/plotutils/Makefile5
-rw-r--r--graphics/xmfract/Makefile2
5 files changed, 5 insertions, 8 deletions
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile
index e992f90294d..57d4379cc95 100644
--- a/graphics/geomview/Makefile
+++ b/graphics/geomview/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms \
tk82.1:${PORTSDIR}/x11-toolkits/tk82
WRKSRC= ${WRKDIR}/Geomview
-REQUIRES_MOTIF= yes
+USE_MOTIF= yes
USE_X_PREFIX= yes
USE_MESA= yes
diff --git a/graphics/mpeg2play/Makefile b/graphics/mpeg2play/Makefile
index ce6a5737aa8..35df41285f6 100644
--- a/graphics/mpeg2play/Makefile
+++ b/graphics/mpeg2play/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.funet.fi/pub/graphics/packages/mpeg/mpeg2play/
MAINTAINER= charnier@lirmm.fr
USE_IMAKE= yes
-REQUIRES_MOTIF= yes
+USE_MOTIF= yes
ALL_TARGET= mpeg2play
do-install:
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index 3fc7596ddc2..df2dc249b26 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
USE_XLIB= yes
USE_MESA= yes
-REQUIRES_MOTIF= yes
+USE_MOTIF= yes
USE_NEWGCC= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index a6be5be72b5..c99905c5075 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -20,11 +20,8 @@ USE_NEWGCC= yes
CONFIGURE_ARGS= --enable-libplotter --enable-libxmi
MAN1= ode.1 plot.1 spline.1 tek2plot.1
-.ifdef HAVE_MOTIF
+USE_MOTIF= yes
CONFIGURE_ARGS+= --with-motif
CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}"
-# to ensure dependency info is generated properly
-REQUIRES_MOTIF= yes
-.endif
.include <bsd.port.mk>
diff --git a/graphics/xmfract/Makefile b/graphics/xmfract/Makefile
index bb24e2ae96e..fbc832f2a50 100644
--- a/graphics/xmfract/Makefile
+++ b/graphics/xmfract/Makefile
@@ -14,7 +14,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-REQUIRES_MOTIF= yes
+USE_MOTIF= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes