summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-08-22 08:30:17 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-08-22 08:30:17 +0000
commit2013f63fc0873020123d86fed6ff27a5ae2da107 (patch)
tree9e0869b6f3aec40de51255cdf7e6255fa511930d /devel
parentUpdate to version 2.0.16b. (diff)
Don't try to parse ${MOTIFLIB} if it's not defined.
Notes
Notes: svn path=/head/; revision=20878
Diffstat (limited to 'devel')
-rw-r--r--devel/ddd/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index 4e04e7a92dbd..9f19cfdc7792 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -4,7 +4,7 @@
# Date created: Tue Jan 28, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
-# $Id: Makefile,v 1.18 1999/08/19 03:09:20 green Exp $
+# $Id: Makefile,v 1.19 1999/08/20 10:21:06 asami Exp $
#
DISTNAME= ddd-3.1.6
@@ -26,11 +26,15 @@ USE_GMAKE= yes
REQUIRES_MOTIF= yes
MAN1= ddd.1
+.if defined(MOTIFLIB)
.if defined(MOTIF_STATIC)
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/\/libXm\.a//g' | awk '{print $$1}'
.else
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/-L//g' | awk '{print $$1}'
.endif
+.else
+LIBXMDIR= ${X11BASE}
+.endif
post-configure:
${ECHO} "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile