Lines 1682-1691
Link Here
|
1682 |
PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} |
1682 |
PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} |
1683 |
.endif |
1683 |
.endif |
1684 |
|
1684 |
|
1685 |
PKG_CMD?= /usr/sbin/pkg_create |
1685 |
.if ${OSVERSION} < 470000 && ${PKGORIGIN} != "sysutils/pkg_install" |
|
|
1686 |
BUILD_DEPENDS+= ${LOCALBASE}/sbin/pkg_info:${PORTSDIR}/sysutils/pkg_install |
1687 |
.endif |
1688 |
|
1689 |
.if exists(${LOCALBASE}/sbin/pkg_info) |
1690 |
PKG_CMD?= ${LOCALBASE}/sbin/pkg_create |
1691 |
PKG_ADD?= ${LOCALBASE}/sbin/pkg_add |
1692 |
PKG_DELETE?= ${LOCALBASE}/sbin/pkg_delete |
1693 |
PKG_INFO?= ${LOCALBASE}/sbin/pkg_info |
1694 |
.else |
|
|
1695 |
PKG_CMD?= /usr/sbin/pkg_create |
1686 |
PKG_ADD?= /usr/sbin/pkg_add |
1696 |
PKG_ADD?= /usr/sbin/pkg_add |
1687 |
PKG_DELETE?= /usr/sbin/pkg_delete |
1697 |
PKG_DELETE?= /usr/sbin/pkg_delete |
1688 |
PKG_INFO?= /usr/sbin/pkg_info |
1698 |
PKG_INFO?= /usr/sbin/pkg_info |
|
|
1699 |
.endif |
1689 |
|
1700 |
|
1690 |
# Does the pkg_create tool support conflict checking? |
1701 |
# Does the pkg_create tool support conflict checking? |
1691 |
PKGINSTALLVER!= ${PKG_INFO} -P 2>/dev/null | ${SED} -e 's/.*: //' |
1702 |
PKGINSTALLVER!= ${PKG_INFO} -P 2>/dev/null | ${SED} -e 's/.*: //' |