Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/iconv.mk
# handle dependency on the iconv port | # handle dependency on the iconv port | ||||
# | # | ||||
# Feature: iconv | # Feature: iconv | ||||
# Usage: USES=iconv or USES=iconv:ARGS | # Usage: USES=iconv or USES=iconv:ARGS | ||||
# Valid ARGS: lib (default, implicit), build, patch, | # Valid ARGS: lib (default, implicit), build, patch, | ||||
# wchar_t (port uses "WCHAR_T" extension), | # wchar_t (port uses "WCHAR_T" extension), | ||||
# translit (port uses "//TRANSLIT" extension) | # translit (port uses "//TRANSLIT" extension) | ||||
# | # | ||||
# MAINTAINER: portmgr@FreeBSD.org | # MAINTAINER: desktop@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_ICONV_MK) | .if !defined(_INCLUDE_USES_ICONV_MK) | ||||
_INCLUDE_USES_ICONV_MK= yes | _INCLUDE_USES_ICONV_MK= yes | ||||
.if !exists(/usr/include/iconv.h) || ${iconv_ARGS:Mwchar_t} || ${iconv_ARGS:Mtranslit} | .if !exists(/usr/include/iconv.h) || ${iconv_ARGS:Mwchar_t} || ${iconv_ARGS:Mtranslit} | ||||
ICONV_CMD= ${LOCALBASE}/bin/iconv | ICONV_CMD= ${LOCALBASE}/bin/iconv | ||||
ICONV_LIB= -liconv | ICONV_LIB= -liconv | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |