summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2023-01-13 12:09:00 +0100
committerAlexander Leidinger <netchild@FreeBSD.org>2023-01-13 12:10:20 +0100
commit0f6d608630e59fb5e1a414f62fe39ec10d6d7714 (patch)
treeff0e8c4170affa4c45b4093639a6afc97d5e587e /astro
parentwww/chromium: update to 109.0.5414.74 (diff)
astro/fowsr: make the compile respect CFLAGS
This fixes builds with WITH_PIE enabled.
Diffstat (limited to 'astro')
-rw-r--r--astro/fowsr/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/astro/fowsr/Makefile b/astro/fowsr/Makefile
index 2cd1091a892a..97de89510d35 100644
--- a/astro/fowsr/Makefile
+++ b/astro/fowsr/Makefile
@@ -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