Don't try to parse ${MOTIFLIB} if it's not defined.
This commit is contained in:
parent
d4d4fb4baf
commit
2013f63fc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20878
@ -4,7 +4,7 @@
|
|||||||
# Date created: Tue Jan 28, 1997
|
# Date created: Tue Jan 28, 1997
|
||||||
# Whom: David O'Brien (obrien@NUXI.com)
|
# 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
|
DISTNAME= ddd-3.1.6
|
||||||
@ -26,11 +26,15 @@ USE_GMAKE= yes
|
|||||||
REQUIRES_MOTIF= yes
|
REQUIRES_MOTIF= yes
|
||||||
MAN1= ddd.1
|
MAN1= ddd.1
|
||||||
|
|
||||||
|
.if defined(MOTIFLIB)
|
||||||
.if defined(MOTIF_STATIC)
|
.if defined(MOTIF_STATIC)
|
||||||
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/\/libXm\.a//g' | awk '{print $$1}'
|
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/\/libXm\.a//g' | awk '{print $$1}'
|
||||||
.else
|
.else
|
||||||
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/-L//g' | awk '{print $$1}'
|
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/-L//g' | awk '{print $$1}'
|
||||||
.endif
|
.endif
|
||||||
|
.else
|
||||||
|
LIBXMDIR= ${X11BASE}
|
||||||
|
.endif
|
||||||
|
|
||||||
post-configure:
|
post-configure:
|
||||||
${ECHO} "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile
|
${ECHO} "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user