mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
astro/fowsr: make the compile respect CFLAGS
This fixes builds with WITH_PIE enabled.
This commit is contained in:
parent
36d5a0919f
commit
0f6d608630
@ -1,5 +1,6 @@
|
||||
PORTNAME= fowsr
|
||||
PORTVERSION= ${FILEVER}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro
|
||||
|
||||
MAINTAINER= netchild@FreeBSD.org
|
||||
@ -20,7 +21,7 @@ USES= gmake dos2unix
|
||||
PLIST_FILES= bin/fowsr
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's:gcc:${CC}:g' ${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} 's:gcc:${CC} ${CFLAGS}:g' ${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} 's:/usr/bin/fowsr:fowsr:g ; s://var//://var/tmp//:g' \
|
||||
${WRKSRC}/*.sh ${WRKSRC}/fowsr.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user