Date: Thu, 12 Jun 2008 16:44:32 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124520: [patch] emulators/linux-xjoypad remove USE_LINUX/USE_X_PREFIX Message-ID: <200806121644.m5CGiWpj036387@www.freebsd.org> Resent-Message-ID: <200806121650.m5CGo3RT073521@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806121644.m5CGiWpj036387>