View | Details | Raw Unified | Return to bug 180207 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-2 / +15 lines)
Lines 12-23 Link Here
12
12
13
USE_GMAKE=	yes
13
USE_GMAKE=	yes
14
14
15
OPTIONS_DEFINE=	ALLEGRO
15
OPTIONS_DEFINE=	ALLEGRO ALLEGRO_DEVEL
16
ALLEGRO_DESC=	Enable allegro support
16
ALLEGRO_DESC=	Enable allegro support
17
ALLEGRO_DEVEL_DESC=	Enable allegro development version
17
18
18
.include <bsd.port.options.mk>
19
.include <bsd.port.options.mk>
19
20
20
.if ${PORT_OPTIONS:MALLEGRO}
21
.if ${PORT_OPTIONS:MALLEGRO} && ! ${PORT_OPTIONS:MALLEGRO_DEVEL}
21
LIB_DEPENDS+=	alleg.42:${PORTSDIR}/devel/allegro
22
LIB_DEPENDS+=	alleg.42:${PORTSDIR}/devel/allegro
22
PLIST_SUB+=	ALLEGRO=""
23
PLIST_SUB+=	ALLEGRO=""
23
MAKE_ARGS=	_PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
24
MAKE_ARGS=	_PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
Lines 29-34 Link Here
29
CONFLICTS=	dumb-allegro-[0-9]*
30
CONFLICTS=	dumb-allegro-[0-9]*
30
.endif
31
.endif
31
32
33
.if ${PORT_OPTIONS:MALLEGRO} && ${PORT_OPTIONS:MALLEGRO_DEVEL}
34
LIB_DEPENDS+=	alleg.4:${PORTSDIR}/devel/allegro-devel
35
PLIST_SUB+=	ALLEGRO=""
36
MAKE_ARGS=	_PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
37
PKGNAMESUFFIX=	-allegro-devel
38
CONFLICTS=	dumb-[0-9]*
39
.else
40
PLIST_SUB+=	ALLEGRO="@comment "
41
MAKE_ARGS=	_PORT_ALLEGRO_CFLAGS=
42
CONFLICTS=	dumb-allegro-devel[0-9]*
43
.endif
44
32
.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64"
45
.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64"
33
CFLAGS+=	-fPIC
46
CFLAGS+=	-fPIC
34
.endif
47
.endif

Return to bug 180207