diff options
author | hubertf <hubertf> | 2000-05-01 14:22:04 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-05-01 14:22:04 +0000 |
commit | f14a67c69474551dddf4fdd53d591c21da5ebbef (patch) | |
tree | e3e745c0bf3410ef11f213d24b6fcef3fa62b293 /converters/psiconv | |
parent | d8354a74193d18066a8568081a749bda1017775a (diff) | |
download | pkgsrc-f14a67c69474551dddf4fdd53d591c21da5ebbef.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 |