From 971087c2b4d6b0b917e3fac3ac1334b04f7c9907 Mon Sep 17 00:00:00 2001 From: sf Date: Mon, 14 Jul 2003 02:53:03 +0000 Subject: get rid of libgnugetopt dependency for -CURRENT, use USE_GETOPT_LONG instead. --- graphics/vp/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'graphics/vp') diff --git a/graphics/vp/Makefile b/graphics/vp/Makefile index 36a031c21d30..d447985628f9 100644 --- a/graphics/vp/Makefile +++ b/graphics/vp/Makefile @@ -7,19 +7,22 @@ PORTNAME= vp PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://math.smsu.edu/~erik/files/ MAINTAINER= markp@FreeBSD.org COMMENT= An image viewer for X -LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config +USE_GETOPT_LONG=yes USE_LIBTOOL= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" \ +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + SDL_CONFIG="${SDL_CONFIG}" \ ac_cv_func_getopt_long=yes USE_REINPLACE= yes MAN1= vp.1 -- cgit