diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-05-01 14:22:04 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-05-01 14:22:04 +0000 |
commit | 3c0d88f6d42c789ba058a2fce8e3aca8fc3b4542 (patch) | |
tree | e3e745c0bf3410ef11f213d24b6fcef3fa62b293 /converters/psiconv | |
parent | ca8658a065609345902e999ef5aa005b9cb62f2b (diff) | |
download | pkgsrc-3c0d88f6d42c789ba058a2fce8e3aca8fc3b4542.tar.gz |
Don't pull in libgetopt if /usr/include/getopt.h is present (i.e.
on -current systems)
Diffstat (limited to 'converters/psiconv')
-rw-r--r-- | converters/psiconv/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/psiconv/Makefile b/converters/psiconv/Makefile index a0a81246bcd..0b3ab7e3de9 100644 --- a/converters/psiconv/Makefile +++ b/converters/psiconv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/12/06 01:58:06 sakamoto Exp $ +# $NetBSD: Makefile,v 1.2 2000/05/01 14:22:04 hubertf Exp $ # DISTNAME= psiconv-0.6.1 @@ -8,7 +8,9 @@ MASTER_SITES= http://huizen.dds.nl/~frodol/psiconv/ MAINTAINER= sakamoto@netbsd.org HOMEPAGE= http://huizen.dds.nl/~frodol/psiconv/ -DEPENDS+= libgetopt-*:../../devel/libgetopt +.if !exists(/usr/include/getopt.h) +DEPENDS+= libgetopt-[0-9]*:../../devel/libgetopt +.endif DEPENDS+= ImageMagick-*:../../graphics/ImageMagick MAGICK_CONFIG= ${LOCALBASE}/bin/Magick-config |