From 338bb233c51cf6d86858988b5c41116fbda71f26 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 23 Jun 2006 08:13:42 +0000 Subject: Use LIB_DEPENDS instead of (BUILD|RUN)_DEPENDS for shared library. Also bump PORTREVISION. PR: 99327 (based on) Submitted by: Gea-Suan Lin (maintainer) --- devel/cgdb/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'devel/cgdb') diff --git a/devel/cgdb/Makefile b/devel/cgdb/Makefile index 6acc9ce15902..908605cfdd5e 100644 --- a/devel/cgdb/Makefile +++ b/devel/cgdb/Makefile @@ -7,7 +7,7 @@ PORTNAME= cgdb PORTVERSION= 0.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,8 +23,7 @@ GNU_CONFIGURE= yes .include .if ${OSVERSION} < 700016 -BUILD_DEPENDS+= ${LOCALBASE}/lib/readline.so.5:${PORTSDIR}/devel/readline -RUN_DEPENDS= ${BUILD_DEPENDS} +LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline LDFLAGS+= -rpath ${LOCALBASE}/lib CONFIGURE_ARGS+= --with-readline=${LOCALBASE} CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" -- cgit v1.2.3