diff options
author | asami <asami@FreeBSD.org> | 1999-08-22 16:30:17 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-08-22 16:30:17 +0800 |
commit | 963144a31134f9981df5a8d1b3a9e8e5879e550c (patch) | |
tree | a427b0ddc87119aeb47f6e09d97fcf439a96c9b7 /devel/ddd/Makefile | |
parent | 3eab052ffc77306116ae14fabc2dd721aefef11e (diff) | |
download | freebsd-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/Makefile | 6 |
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 |