View | Details | Raw Unified | Return to bug 177209
Collapse All | Expand All

(-)Makefile (-13 / +14 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:    mtools
1
# Created by: jmz
2
# Date created:         5 October 1994
3
# Whom:                 jmz
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	mtools
4
PORTNAME=	mtools
9
PORTVERSION=	4.0.10
5
PORTVERSION=	4.0.10
Lines 33-54 Link Here
33
MAN5=		mtools.5
29
MAN5=		mtools.5
34
INFO=		mtools
30
INFO=		mtools
35
31
36
.if defined(WITHOUT_ICONV)
32
OPTIONS_DEFINE=	ICONV X11
37
CONFIGURE_ENV+=	ac_cv_header_iconv_h=no
33
OPTIONS_DEFAULT=ICONV X11
38
.else
34
35
.include <bsd.port.options.mk>
36
37
.if ${PORT_OPTIONS:MICONV}
39
USE_ICONV=	yes
38
USE_ICONV=	yes
40
CPPFLAGS+=	-I${LOCALBASE}/include
39
CPPFLAGS+=	-I${LOCALBASE}/include
41
LDFLAGS+=	-L${LOCALBASE}/lib -liconv
40
LDFLAGS+=	-L${LOCALBASE}/lib -liconv
41
.else
42
CONFIGURE_ENV+=	ac_cv_header_iconv_h=no
42
.endif
43
.endif
43
44
44
.if defined(WITHOUT_X11)
45
.if ${PORT_OPTIONS:MX11}
46
USE_XORG=	x11 sm ice xau
47
PLIST_SUB=	X11=""
48
MAN1+=		floppyd.1 floppyd_installtest.1
49
.else
45
CONFIGURE_ARGS+=	--without-x
50
CONFIGURE_ARGS+=	--without-x
46
PLIST_SUB=	X11="@comment "
51
PLIST_SUB=	X11="@comment "
47
MAKE_ENV+=	WITHOUT_X11=${WITHOUT_X11}
52
MAKE_ENV+=	WITHOUT_X11=${WITHOUT_X11}
48
.else
49
USE_XORG=	x11 sm ice xau
50
PLIST_SUB=	X11=""
51
MAN1+=		floppyd.1 floppyd_installtest.1
52
.endif
53
.endif
53
54
54
post-patch:
55
post-patch:

Return to bug 177209