Changeset View
Changeset View
Standalone View
Standalone View
ports-mgmt/pkg/Makefile
Show All 31 Lines | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) | .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) | ||||
MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}" | MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}" | ||||
.endif | .endif | ||||
.if defined(WITH_PKG) | .if defined(WITH_PKG) | ||||
.if ${WITH_PKG} == devel | .if ${WITH_PKG} == devel | ||||
NO_LATEST_LINK= yes | |||||
IGNORE= WITH_PKG is defined to 'devel', this version is the stable one | IGNORE= WITH_PKG is defined to 'devel', this version is the stable one | ||||
.endif | .endif | ||||
.if exists(${LOCALBASE}/sbin/pkg_info) || exists(/usr/sbin/pkg_info) | .if exists(${LOCALBASE}/sbin/pkg_info) || exists(/usr/sbin/pkg_info) | ||||
NB_OLDPKGS!= pkg_info 2>/dev/null | wc -l | NB_OLDPKGS!= pkg_info 2>/dev/null | wc -l | ||||
.if exists(${PKG_BIN}) | .if exists(${PKG_BIN}) | ||||
NB_NEWPKGS!= ${PKG_INFO} -aq | wc -l | NB_NEWPKGS!= ${PKG_INFO} -aq | wc -l | ||||
.else | .else | ||||
NB_NEWPKGS= 0 | NB_NEWPKGS= 0 | ||||
Show All 30 Lines |