summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-21 03:28:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-21 03:28:11 +0000
commit757cd2e0a8901c9305a8a15230c12e99a4d82764 (patch)
treec6eb47450e2d980e021459f5335b3b9fef78ab6d /games-util
parentinitial import (diff)
downloadgentoo-2-757cd2e0a8901c9305a8a15230c12e99a4d82764.tar.gz
gentoo-2-757cd2e0a8901c9305a8a15230c12e99a4d82764.tar.bz2
gentoo-2-757cd2e0a8901c9305a8a15230c12e99a4d82764.zip
make sure we use custom CFLAGS/CXXFLAGS
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/qjoypad/qjoypad-3.4.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-util/qjoypad/qjoypad-3.4.ebuild b/games-util/qjoypad/qjoypad-3.4.ebuild
index fa464385dbc2..45b1dc245b0e 100644
--- a/games-util/qjoypad/qjoypad-3.4.ebuild
+++ b/games-util/qjoypad/qjoypad-3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-3.4.ebuild,v 1.1 2005/07/21 03:22:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-3.4.ebuild,v 1.2 2005/07/21 03:28:11 vapier Exp $
DESCRIPTION="translate gamepad/joystick input into key strokes/mouse actions in X"
HOMEPAGE="http://qjoypad.sourceforge.net/"
@@ -19,6 +19,8 @@ src_unpack() {
cd "${S}"/src
# makefile has silly dependencies
sed -i \
+ -e "/^CFLAGS/s:-pipe -Wall -W -O2:${CFLAGS}:" \
+ -e "/^CXXFLAGS/s:-pipe -Wall -W -O2:${CXXFLAGS}:" \
-e '/^Makefile:/s|:.*||' \
Makefile || die "sed make depends failed"
}