aboutsummaryrefslogtreecommitdiff
path: root/devel/cgdb
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-06-23 08:13:42 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-06-23 08:13:42 +0000
commit338bb233c51cf6d86858988b5c41116fbda71f26 (patch)
tree8d74e3fa31aa98350b80fafea695ccffa1f6710a /devel/cgdb
parent168b676ce02b1a0ae4df9ebbcb50e6951891b0af (diff)
downloadports-338bb233c51cf6d86858988b5c41116fbda71f26.tar.gz
ports-338bb233c51cf6d86858988b5c41116fbda71f26.zip
Use LIB_DEPENDS instead of (BUILD|RUN)_DEPENDS for shared library.
Also bump PORTREVISION. PR: 99327 (based on) Submitted by: Gea-Suan Lin <gslin@gslin.org> (maintainer)
Notes
Notes: svn path=/head/; revision=166085
Diffstat (limited to 'devel/cgdb')
-rw-r--r--devel/cgdb/Makefile5
1 files changed, 2 insertions, 3 deletions
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 <bsd.port.pre.mk>
.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}"