aboutsummaryrefslogtreecommitdiff
path: root/sysutils/radeontool
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-12-12 02:25:38 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-12-12 02:25:38 +0000
commitcb44dd834e92c4fbbb5fea60e752e517e8a04abb (patch)
tree3c7f52d125640b22eef2e88b2f9dfe6df083f7fe /sysutils/radeontool
parent5363114c75ad0bd784672f3dec7bf43b3a44b986 (diff)
downloadports-cb44dd834e92c4fbbb5fea60e752e517e8a04abb.tar.gz
ports-cb44dd834e92c4fbbb5fea60e752e517e8a04abb.zip
Notes
Diffstat (limited to 'sysutils/radeontool')
-rw-r--r--sysutils/radeontool/Makefile2
-rw-r--r--sysutils/radeontool/files/patch-Makefile11
2 files changed, 9 insertions, 4 deletions
diff --git a/sysutils/radeontool/Makefile b/sysutils/radeontool/Makefile
index 5a39c1cca930..4c20df0fb043 100644
--- a/sysutils/radeontool/Makefile
+++ b/sysutils/radeontool/Makefile
@@ -15,4 +15,6 @@ COMMENT= ATI Radeon video card contoroling tool useful for laptops
USE_GETOPT_LONG=YES
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
.include <bsd.port.mk>
diff --git a/sysutils/radeontool/files/patch-Makefile b/sysutils/radeontool/files/patch-Makefile
index 3dc9adc11da0..b75f158e3e53 100644
--- a/sysutils/radeontool/files/patch-Makefile
+++ b/sysutils/radeontool/files/patch-Makefile
@@ -1,12 +1,15 @@
+Index: Makefile
+diff -u Makefile.orig Makefile
--- Makefile.orig Sun Jun 23 14:28:15 2002
-+++ Makefile Fri Aug 19 00:34:31 2005
-@@ -1,8 +1,9 @@
++++ Makefile Mon Dec 12 11:21:21 2005
+@@ -1,8 +1,10 @@
-
+all:radeontool
radeontool: radeontool.c
- gcc -Wall -O2 radeontool.c -o radeontool
--
+- gcc -Wall -O2 radeontool.c -o radeontool
++ ${CC} -Wall ${CFLAGS} ${CPPFLAGS} radeontool.c -o radeontool ${LDFLAGS}
+
+install:
+ install -C -s radeontool ${PREFIX}/bin/