Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= mtools |
4 |
PORTNAME= mtools |
5 |
PORTVERSION= 4.0.26 |
5 |
PORTVERSION= 4.0.26 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= emulators |
7 |
CATEGORIES= emulators |
7 |
MASTER_SITES= GNU |
8 |
MASTER_SITES= GNU |
8 |
|
9 |
|
Lines 31-36
OPTIONS_DEFAULT=ICONV X11
Link Here
|
31 |
USES+= iconv |
32 |
USES+= iconv |
32 |
CPPFLAGS+= -I${LOCALBASE}/include |
33 |
CPPFLAGS+= -I${LOCALBASE}/include |
33 |
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} |
34 |
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} |
|
|
35 |
.if empty(ICONV_LIB) |
36 |
LIB_DEPENDS+= libiconv.so:converters/libiconv |
37 |
.endif |
34 |
.else |
38 |
.else |
35 |
CONFIGURE_ENV+= ac_cv_header_iconv_h=no |
39 |
CONFIGURE_ENV+= ac_cv_header_iconv_h=no |
36 |
.endif |
40 |
.endif |