version 1.48, 1998/11/17 06:39:25 |
version 1.49, 1998/11/17 07:14:16 |
|
|
# |
# |
# Motif support: |
# Motif support: |
# |
# |
|
# USE_MOTIF - Set this in your port if it requires Motif or Lesstif. |
|
# It will be built using Lesstif port unless Motif libraries |
|
# found or HAVE_MOTIF is defined. See also REQUIRES_MOTIF. |
|
# |
# REQUIRES_MOTIF - Set this in your port if it requires Motif. It will be |
# REQUIRES_MOTIF - Set this in your port if it requires Motif. It will be |
# built only if HAVE_MOTIF is set. |
# built only if HAVE_MOTIF is set. |
# HAVE_MOTIF - If set, means system has Motif. Typically set in |
# HAVE_MOTIF - If set, means system has Motif. Typically set in |
|
|
BUILD_DEPENDS+= ${EGXX}:${PORTSDIR}/devel/egcs-stable |
BUILD_DEPENDS+= ${EGXX}:${PORTSDIR}/devel/egcs-stable |
CXX=${EGXX} |
CXX=${EGXX} |
.endif |
.endif |
|
.if defined(USE_MOTIF) && !defined(HAVE_MOTIF) && !defined(REQUIRES_MOTIF) |
|
LIB_DEPENDS+= Xm.:${PORTSDIR}/x11/lesstif |
|
.endif |
|
|
# OpenBSD has perl5 in-tree |
# OpenBSD has perl5 in-tree |
# |
# |
|
|
PKG_DBDIR?= /var/db/pkg |
PKG_DBDIR?= /var/db/pkg |
|
|
# shared/dynamic motif libs |
# shared/dynamic motif libs |
.if defined(HAVE_MOTIF) |
.if defined(USE_MOTIF) || defined(HAVE_MOTIF) |
.if defined(MOTIF_STATIC) |
.if defined(MOTIF_STATIC) |
MOTIFLIB?= ${X11BASE}/lib/libXm.a |
MOTIFLIB?= ${X11BASE}/lib/libXm.a |
.else |
.else |