From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 12 16:50:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00C551065687 for ; Thu, 12 Jun 2008 16:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D6FE58FC2B for ; Thu, 12 Jun 2008 16:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5CGo3gv073523 for ; Thu, 12 Jun 2008 16:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5CGo3RT073521; Thu, 12 Jun 2008 16:50:03 GMT (envelope-from gnats) Resent-Date: Thu, 12 Jun 2008 16:50:03 GMT Resent-Message-Id: <200806121650.m5CGo3RT073521@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Kozlov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8936D1065679 for ; Thu, 12 Jun 2008 16:44:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF508FC19 for ; Thu, 12 Jun 2008 16:44:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5CGiWlQ036388 for ; Thu, 12 Jun 2008 16:44:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5CGiWpj036387; Thu, 12 Jun 2008 16:44:32 GMT (envelope-from nobody) Message-Id: <200806121644.m5CGiWpj036387@www.freebsd.org> Date: Thu, 12 Jun 2008 16:44:32 GMT From: Alex Kozlov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/124520: [patch] emulators/linux-xjoypad remove USE_LINUX/USE_X_PREFIX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 16:50:04 -0000 >Number: 124520 >Category: ports >Synopsis: [patch] emulators/linux-xjoypad remove USE_LINUX/USE_X_PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 12 16:50:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: FreeBSD 6.3 >Organization: private >Environment: >Description: - remove USE_LINUX - remove USE_X_PREFIX - remove BUILD_DEPENDS - fix USE_XORG - fix LDFLAGS - fix CATEGORIES >How-To-Repeat: >Fix: Patch attached with submission follows: Index: emulators/linux-xjoypad/Makefile @@ -7,8 +7,8 @@ PORTNAME= xjoypad PORTVERSION= 1 -PORTREVISION= 1 -CATEGORIES= emulators linux +PORTREVISION= 2 +CATEGORIES= emulators MASTER_SITES= http://members.chello.at/erich.kitzmueller/ammoq/down/ PKGNAMEPREFIX= linux- DISTNAME= xjoypad @@ -16,23 +16,18 @@ MAINTAINER= beyert@cs.ucr.edu COMMENT= Joy-Device to X mapping (lets you play Linux games with a joypad) -BUILD_DEPENDS= ${X11BASE}/lib/libX11.a:${PORTSDIR}/x11/libX11 RUN_DEPENDS= /boot/modules/linux_js.ko:${PORTSDIR}/devel/linux-js -USE_XORG= x11 +USE_XORG= x11 xau xdmcp WRKSRC= ${WRKDIR}/xjoypad/ -USE_LINUX= yes -USE_X_PREFIX= yes USE_ZIP= yes FILES= xjoypad.c sendevent.c -CFLAGS+= -I ${PREFIX}/include -LIB_X11= ${PREFIX}/lib/libX11.a -LIB_XAU= ${PREFIX}/lib/libXau.a -LIB_XDMCP= ${PREFIX}/lib/libXdmcp.a +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lcompat -lX11 -lXau -lXdmcp do-build: - (cd ${WRKSRC} && ${CC} ${CFLAGS} -o xjoypad ${FILES} -lcompat -lm ${LIB_X11} ${LIB_XAU} ${LIB_XDMCP}) + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o xjoypad ${FILES} ${LDFLAGS} ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xjoypad ${PREFIX}/bin >Release-Note: >Audit-Trail: >Unformatted: