aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cgdb/Makefile
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-06-23 16:13:42 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-06-23 16:13:42 +0800
commit1b08ca34524ed0d7c674b75abe0ecd525e234ead (patch)
treef8842373e6923a911e88085152c1ed3be43a8a34 /devel/cgdb/Makefile
parent1706c6fae224ce7da8b641dc71c0b501a7a1e878 (diff)
downloadfreebsd-ports-gnome-1b08ca34524ed0d7c674b75abe0ecd525e234ead.tar.gz
freebsd-ports-gnome-1b08ca34524ed0d7c674b75abe0ecd525e234ead.tar.zst
freebsd-ports-gnome-1b08ca34524ed0d7c674b75abe0ecd525e234ead.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)
Diffstat (limited to 'devel/cgdb/Makefile')
-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}"