aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/bsdbktr_tvtune
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 23:34:59 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 23:34:59 +0800
commitbf145934aa219550835177a56c0c9c745c26d913 (patch)
tree20d307bf6f6d40284b081daede3701d7d3add995 /multimedia/bsdbktr_tvtune
parent63069fbe66750d4329eafd1da949628fc2bdca50 (diff)
downloadfreebsd-ports-gnome-bf145934aa219550835177a56c0c9c745c26d913.tar.gz
freebsd-ports-gnome-bf145934aa219550835177a56c0c9c745c26d913.tar.zst
freebsd-ports-gnome-bf145934aa219550835177a56c0c9c745c26d913.zip
- Support staging
- Respect CC - Respect CFLAGS
Diffstat (limited to 'multimedia/bsdbktr_tvtune')
-rw-r--r--multimedia/bsdbktr_tvtune/Makefile3
-rw-r--r--multimedia/bsdbktr_tvtune/files/patch-Makefile11
2 files changed, 12 insertions, 2 deletions
diff --git a/multimedia/bsdbktr_tvtune/Makefile b/multimedia/bsdbktr_tvtune/Makefile
index c124bc4a9153..0b1b1142d384 100644
--- a/multimedia/bsdbktr_tvtune/Makefile
+++ b/multimedia/bsdbktr_tvtune/Makefile
@@ -14,8 +14,7 @@ PLIST_FILES= bin/bsdbktr_tvtune
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= bsdbktr_tvtune
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bsdbktr_tvtune ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bsdbktr_tvtune ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/multimedia/bsdbktr_tvtune/files/patch-Makefile b/multimedia/bsdbktr_tvtune/files/patch-Makefile
new file mode 100644
index 000000000000..cff706006af2
--- /dev/null
+++ b/multimedia/bsdbktr_tvtune/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2014-02-21 16:33:19.453413028 +0100
++++ ./Makefile 2014-02-21 16:33:44.640427076 +0100
+@@ -3,7 +3,7 @@
+ #
+
+ bsdbktr_tvtune: bsdbktr_tvtune.c
+- gcc -Wall -O -o bsdbktr_tvtune bsdbktr_tvtune.c
++ ${CC} ${CFLAGS} -o bsdbktr_tvtune bsdbktr_tvtune.c
+ strip bsdbktr_tvtune
+
+ clean: