diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-05-29 12:49:45 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-05-29 12:49:45 +0000 |
commit | 763918862a1ed80ae9083c6de85629adaa12e392 (patch) | |
tree | c4b105a09c5f00fbe62fa1b8980e72634522e048 /archivers/unzoo | |
parent | Update to 2.15. (diff) |
Only use -trigraphs compiler option on ${OSVERSION} >= 503000
(-trigraphs requires gcc 3.4+)
Notes
Notes:
svn path=/head/; revision=163832
Diffstat (limited to 'archivers/unzoo')
-rw-r--r-- | archivers/unzoo/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/unzoo/Makefile b/archivers/unzoo/Makefile index 49cf8ff6e9e3..ab9fda48ab97 100644 --- a/archivers/unzoo/Makefile +++ b/archivers/unzoo/Makefile @@ -23,12 +23,13 @@ MAN1= unzoo.1 .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500000 +.if ${OSVERSION} >= 503000 CFLAGS+= -trigraphs .endif do-build: - ${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c + ${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \ + ${WRKSRC}/${PORTNAME}.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |