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

(-)games/xscorch/Makefile (-16 / +7 lines)
Lines 16-47 Link Here
16
LICENSE=	GPLv2
16
LICENSE=	GPLv2
17
LICENSE_FILE=	${WRKSRC}/COPYING
17
LICENSE_FILE=	${WRKSRC}/COPYING
18
18
19
LIB_DEPENDS=	mikmod.2:${PORTSDIR}/audio/libmikmod
19
OPTIONS=	MIKMOD "Enable libmikmod support" on
20
20
21
USE_XORG=	xpm
22
USE_GNOME=	gtk20
21
USE_GNOME=	gtk20
23
WANT_GNOME=	yes
24
USE_PERL5=	yes
22
USE_PERL5=	yes
25
USE_GMAKE=	yes
23
USE_GMAKE=	yes
26
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--with-gtk
28
MAKE_JOBS_SAFE=	yes
25
MAKE_JOBS_SAFE=	yes
29
26
30
MAN6=		xscorch.6
27
MAN6=		xscorch.6
31
NO_MANCOMPRESS=	yes
32
28
33
.include <bsd.port.pre.mk>
29
.include <bsd.port.options.mk>
34
30
35
.if ${HAVE_GNOME:Mgnomelibs}!=""
31
.if defined(WITHOUT_MIKMOD)
36
USE_GNOME+=	gnomeprefix gnomelibs
32
CONFIGURE_ARGS+=--disable-sound
37
PKGNAMESUFFIX=	-gnome
38
.else
33
.else
39
CONFIGURE_ARGS+=	--without-gnome
34
LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
35
CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
40
.endif
36
.endif
41
37
42
post-patch:
38
.include <bsd.port.mk>
43
	@${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \
44
		${WRKSRC}/snet/tcpnet/tn_internal.c \
45
		${WRKSRC}/snet/tcpnet/tn_read.c
46
47
.include <bsd.port.post.mk>

Return to bug 164157