From 65dec9549fcc43b474ef2b57550267636772a4b0 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 13 May 2000 01:15:01 +0000 Subject: [PATCH] fix the obvious getopt-problem (on -current) XXX: still doesn't compile, since it uses the old 4.x ImageMagick API, which in this case is incompatible to the 5.x one. --- converters/psiconv/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/converters/psiconv/Makefile b/converters/psiconv/Makefile index fbf6bcac625d..1a28500d0274 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 @@ -10,6 +10,7 @@ HOMEPAGE= http://huizen.dds.nl/~frodol/psiconv/ .if !exists(/usr/include/getopt.h) DEPENDS+= libgetopt-[0-9]*:../../devel/libgetopt +LIBS= -lgetopt .endif DEPENDS+= ImageMagick-*:../../graphics/ImageMagick @@ -19,7 +20,7 @@ USE_X11= YES USE_LIBTOOL= YES GNU_CONFIGURE= YES CONFIGURE_ENV+= CPPFLAGS="`${MAGICK_CONFIG} --cppflags` -DIMAGEMAGICK" \ - LIBS="-lgetopt `${MAGICK_CONFIG} --libs`" + LIBS="${LIBS} `${MAGICK_CONFIG} --libs`" post-configure: @${RM} -f ${WRKSRC}/libtool -- 2.41.0