diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-05-29 20:49:45 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-05-29 20:49:45 +0800 |
commit | 782f94409406074e974a9e6c052a9cbebca08641 (patch) | |
tree | 7c50a3df69b297bce69fab12d1ebd9c3a7da1241 /archivers/unzoo | |
parent | 00c391689a88a24a3ceac33b5c983398ac7abcac (diff) | |
download | freebsd-ports-gnome-782f94409406074e974a9e6c052a9cbebca08641.tar.gz freebsd-ports-gnome-782f94409406074e974a9e6c052a9cbebca08641.tar.zst freebsd-ports-gnome-782f94409406074e974a9e6c052a9cbebca08641.zip |
Only use -trigraphs compiler option on ${OSVERSION} >= 503000
(-trigraphs requires gcc 3.4+)
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 |