ports/164157: Update port: games/xscorch
KATO Tsuguru
tkato432 at yahoo.com
Sun Jan 15 18:10:12 UTC 2012
>Number: 164157
>Category: ports
>Synopsis: Update port: games/xscorch
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 15 18:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Add OPTIONS for sound support
- Get rid of deprecated stuff
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/xscorch/Makefile games/xscorch/Makefile
--- /usr/ports/games/xscorch/Makefile 2011-11-29 03:19:35.000000000 +0900
+++ games/xscorch/Makefile 2011-12-06 04:32:32.000000000 +0900
@@ -16,32 +16,23 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod
+OPTIONS= MIKMOD "Enable libmikmod support" on
-USE_XORG= xpm
USE_GNOME= gtk20
-WANT_GNOME= yes
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gtk
MAKE_JOBS_SAFE= yes
MAN6= xscorch.6
-NO_MANCOMPRESS= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${HAVE_GNOME:Mgnomelibs}!=""
-USE_GNOME+= gnomeprefix gnomelibs
-PKGNAMESUFFIX= -gnome
+.if defined(WITHOUT_MIKMOD)
+CONFIGURE_ARGS+=--disable-sound
.else
-CONFIGURE_ARGS+= --without-gnome
+LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
+CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \
- ${WRKSRC}/snet/tcpnet/tn_internal.c \
- ${WRKSRC}/snet/tcpnet/tn_read.c
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list