svn commit: r319452 - in head/archivers/squsq: . files
Antoine Brodin
antoine at FreeBSD.org
Thu May 30 19:51:39 UTC 2013
Author: antoine
Date: Thu May 30 19:51:38 2013
New Revision: 319452
URL: http://svnweb.freebsd.org/changeset/ports/319452
Log:
- Respect CFLAGS
- Unbreak with clang using -Wno-error=return-type (old K&R code)
Approved by: miwi, eadler (mentors, implicit)
Modified:
head/archivers/squsq/Makefile
head/archivers/squsq/files/Makefile
Modified: head/archivers/squsq/Makefile
==============================================================================
--- head/archivers/squsq/Makefile Thu May 30 19:42:43 2013 (r319451)
+++ head/archivers/squsq/Makefile Thu May 30 19:51:38 2013 (r319452)
@@ -13,6 +13,7 @@ COMMENT= Compressor/decompressor for CP/
CONFLICTS= squirrel-[0-9]*
WRKSRC= ${WRKDIR}/t20-squsq
MAKEFILE= ${FILESDIR}/Makefile
+CFLAGS+= -Wno-error=return-type
PLIST_FILES= bin/sq bin/usq
Modified: head/archivers/squsq/files/Makefile
==============================================================================
--- head/archivers/squsq/files/Makefile Thu May 30 19:42:43 2013 (r319451)
+++ head/archivers/squsq/files/Makefile Thu May 30 19:51:38 2013 (r319452)
@@ -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 $@ $>
More information about the svn-ports-all
mailing list