aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ddd/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-08-22 16:30:17 +0800
committerasami <asami@FreeBSD.org>1999-08-22 16:30:17 +0800
commit963144a31134f9981df5a8d1b3a9e8e5879e550c (patch)
treea427b0ddc87119aeb47f6e09d97fcf439a96c9b7 /devel/ddd/Makefile
parent3eab052ffc77306116ae14fabc2dd721aefef11e (diff)
downloadfreebsd-ports-gnome-963144a31134f9981df5a8d1b3a9e8e5879e550c.tar.gz
freebsd-ports-gnome-963144a31134f9981df5a8d1b3a9e8e5879e550c.tar.zst
freebsd-ports-gnome-963144a31134f9981df5a8d1b3a9e8e5879e550c.zip
Don't try to parse ${MOTIFLIB} if it's not defined.
Diffstat (limited to 'devel/ddd/Makefile')
-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