summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-11-07 23:28:20 +0000
committerasami <asami@FreeBSD.org>2000-11-07 23:28:20 +0000
commitc6a520f6cada8f214b5fae4b3a64dd3766bcc7a6 (patch)
treea231c9f0a623731d42f6401a6582004e4332cf70 /cad
parent8a96405e11f66420af7a5706ae8aaee6764b18c6 (diff)
downloadFreeBSD-ports-c6a520f6cada8f214b5fae4b3a64dd3766bcc7a6.zip
FreeBSD-ports-c6a520f6cada8f214b5fae4b3a64dd3766bcc7a6.tar.gz
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 'cad')
-rw-r--r--cad/electric/Makefile2
-rw-r--r--cad/mars/Makefile8
2 files changed, 4 insertions, 6 deletions
diff --git a/cad/electric/Makefile b/cad/electric/Makefile
index 246b5d5..490ea60 100644
--- a/cad/electric/Makefile
+++ b/cad/electric/Makefile
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
USE_XLIB= yes
-REQUIRES_MOTIF= yes
+USE_MOTIF= yes
EXTRA_PATCHES= ${WRKDIR}/patch-prefix
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/cad/mars/Makefile b/cad/mars/Makefile
index 276cea5..6bc6359a 100644
--- a/cad/mars/Makefile
+++ b/cad/mars/Makefile
@@ -19,13 +19,11 @@ MAINTAINER= obrien@FreeBSD.org
NO_WRKSUBDIR= yes
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING)
-MAKEFILE= Makefile.XMotif
-.elif defined(WITHOUT_X11)
+.if defined(WITHOUT_X11)
MAKEFILE= Makefile.NoX
.else
-USE_XLIB= yes
-MAKEFILE= Makefile.SimpleX
+USE_MOTIF= yes
+MAKEFILE= Makefile.XMotif
.endif
ALL_TARGET= depend mars
MAN1= mars.1
OpenPOWER on IntegriCloud