- Support staging

- Respect CC
- Respect CFLAGS
This commit is contained in:
Emanuel Haupt 2014-02-21 15:34:59 +00:00
parent 329e4cad61
commit 52a0f44af2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345488
2 changed files with 12 additions and 2 deletions

View File

@ -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>

View File

@ -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: