aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-30 06:18:44 +0800
committerkrion <krion@FreeBSD.org>2004-01-30 06:18:44 +0800
commit3c645faa390853bad8da1646250f1c6389522a42 (patch)
tree59c140f232cf79cc245be3003fbf4ef1b23bd5d1 /games
parent9add8f958734a469d2193163de3a13770734d5f0 (diff)
downloadfreebsd-ports-gnome-3c645faa390853bad8da1646250f1c6389522a42.tar.gz
freebsd-ports-gnome-3c645faa390853bad8da1646250f1c6389522a42.tar.zst
freebsd-ports-gnome-3c645faa390853bad8da1646250f1c6389522a42.zip
- Respect CPPFLAGS
Noticed by: bento via kris
Diffstat (limited to 'games')
-rw-r--r--games/trackballs/Makefile7
-rw-r--r--games/trackballs/files/patch-Makefile.in18
2 files changed, 23 insertions, 2 deletions
diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile
index 83803c87ca35..3f4cb8054080 100644
--- a/games/trackballs/Makefile
+++ b/games/trackballs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= trackballs
PORTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,8 +25,10 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GNOME= gnometarget
USE_GMAKE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
MAN6= ${PORTNAME}.6
diff --git a/games/trackballs/files/patch-Makefile.in b/games/trackballs/files/patch-Makefile.in
new file mode 100644
index 000000000000..6e575cf975b4
--- /dev/null
+++ b/games/trackballs/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig Fri Nov 21 15:09:54 2003
++++ Makefile.in Thu Jan 29 23:06:44 2004
+@@ -66,6 +66,7 @@
+ AMTAR = @AMTAR@
+ AWK = @AWK@
+ CC = @CC@
++CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+ DEPDIR = @DEPDIR@
+ GUILE = @GUILE@
+@@ -75,6 +76,7 @@
+ GUILE_SITE = @GUILE_SITE@
+ GUILE_TOOLS = @GUILE_TOOLS@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++LDFLAGS = @LDFLAGS@
+ LN_S = @LN_S@
+ PACKAGE = @PACKAGE@
+ SDL_CFLAGS = @SDL_CFLAGS@