aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/squsq
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-05-31 03:51:38 +0800
committerantoine <antoine@FreeBSD.org>2013-05-31 03:51:38 +0800
commite1f33c874d69da2f562b5c74ed7414adce9880af (patch)
tree7d2c36e62ccd2d6141ac821c464c53b3659e541a /archivers/squsq
parent8da28caea4ce1fc27af4b528ff8a6f00a363fa82 (diff)
downloadfreebsd-ports-gnome-e1f33c874d69da2f562b5c74ed7414adce9880af.tar.gz
freebsd-ports-gnome-e1f33c874d69da2f562b5c74ed7414adce9880af.tar.zst
freebsd-ports-gnome-e1f33c874d69da2f562b5c74ed7414adce9880af.zip
- Respect CFLAGS
- Unbreak with clang using -Wno-error=return-type (old K&R code) Approved by: miwi, eadler (mentors, implicit)
Diffstat (limited to 'archivers/squsq')
-rw-r--r--archivers/squsq/Makefile1
-rw-r--r--archivers/squsq/files/Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/archivers/squsq/Makefile b/archivers/squsq/Makefile
index 20bb9d5ecdcd..0ed690beca87 100644
--- a/archivers/squsq/Makefile
+++ b/archivers/squsq/Makefile
@@ -13,6 +13,7 @@ COMMENT= Compressor/decompressor for CP/M "Squeeze" compressed files
CONFLICTS= squirrel-[0-9]*
WRKSRC= ${WRKDIR}/t20-squsq
MAKEFILE= ${FILESDIR}/Makefile
+CFLAGS+= -Wno-error=return-type
PLIST_FILES= bin/sq bin/usq
diff --git a/archivers/squsq/files/Makefile b/archivers/squsq/files/Makefile
index d68d213ea716..0bb01ad1b83c 100644
--- a/archivers/squsq/files/Makefile
+++ b/archivers/squsq/files/Makefile
@@ -5,7 +5,7 @@
all: sq usq
sq: sq.o tr1.o tr2.o sqio.o
- ${CC} -o $@ $>
+ ${CC} ${CFLAGS} -o $@ $>
usq: usq.o utr.o
- ${CC} -o $@ $>
+ ${CC} ${CFLAGS} -o $@ $>