421767bd88
The infrastructure Makefiles PR: 206569 Exp run by: antoine Differential Revision: D5047
30 lines
585 B
Makefile
30 lines
585 B
Makefile
# $FreeBSD$
|
|
#
|
|
# handle dependency on motif
|
|
#
|
|
# Feature: motif
|
|
# Usage: USES=motif
|
|
#
|
|
# If WANT_LESSTIF is defined in user make.conf then lesstif will be used
|
|
# instead of open-motif
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_MOTIF_MK)
|
|
_INCLUDE_USES_MOTIF_MK= yes
|
|
|
|
.if !empty(motif_ARGS)
|
|
IGNORE= USES=motif takes no arguments
|
|
.endif
|
|
|
|
.if defined(WANT_LESSTIF)
|
|
LIB_DEPENDS+= libXm.so:x11-toolkits/lesstif
|
|
.else
|
|
USE_XORG+= xpm
|
|
LIB_DEPENDS+= libXm.so.4:x11-toolkits/open-motif
|
|
.endif
|
|
|
|
MOTIFLIB?= -L${LOCALBASE}/lib -lXm -lXp
|
|
MAKE_ENV+= MOTIFLIB="${MOTIFLIB}"
|
|
|
|
.endif
|