version 1.46, 1998/10/05 05:13:34 |
version 1.47, 1998/11/05 10:36:14 |
|
|
# USE_PERL5 - Says that the port uses perl5 for building and running. |
# USE_PERL5 - Says that the port uses perl5 for building and running. |
# USE_IMAKE - Says that the port uses imake. |
# USE_IMAKE - Says that the port uses imake. |
# USE_X11 - Says that the port uses X11 (i.e., installs in ${X11BASE}). |
# USE_X11 - Says that the port uses X11 (i.e., installs in ${X11BASE}). |
|
# USE_EGCC - Says that the port needs the egcs C compiler |
|
# USE_EGXX - Says that the port needs the egcs C++ compiler |
# NO_INSTALL_MANPAGES - For imake ports that don't like the install.man |
# NO_INSTALL_MANPAGES - For imake ports that don't like the install.man |
# target. |
# target. |
# HAS_CONFIGURE - Says that the port has its own configure script. |
# HAS_CONFIGURE - Says that the port has its own configure script. |
|
|
.else |
.else |
MAKE_PROGRAM= ${MAKE} |
MAKE_PROGRAM= ${MAKE} |
.endif |
.endif |
|
.if defined(USE_EGCC) |
|
BUILD_DEPENDS+= ${EGCC}:${PORTSDIR}/devel/egcs-stable |
|
CC=${EGCC} |
|
.endif |
|
.if defined(USE_EGXX) |
|
BUILD_DEPENDS+= ${EGXX}:${PORTSDIR}/devel/egcs-stable |
|
CXX=${EGXX} |
|
.endif |
|
|
# OpenBSD has perl5 in-tree |
# OpenBSD has perl5 in-tree |
# |
# |
|
|
|
|
# Miscellaneous overridable commands: |
# Miscellaneous overridable commands: |
GMAKE?= gmake |
GMAKE?= gmake |
|
EGCC?= egcc |
|
EGXX?= eg++ |
XMKMF?= xmkmf -a |
XMKMF?= xmkmf -a |
.if exists(/sbin/md5) |
.if exists(/sbin/md5) |
MD5?= /sbin/md5 |
MD5?= /sbin/md5 |
|
|
fi |
fi |
.if defined(HAS_CONFIGURE) |
.if defined(HAS_CONFIGURE) |
@(cd ${WRKSRC} && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ |
@(cd ${WRKSRC} && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ |
|
CXX="${CXX}" ac_cv_path_CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ |
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ |
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ |
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ |
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ |
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) |
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) |