diff -ruN --exclude=CVS /usr/ports/devel/cgdb/Makefile /home/staff/gslin/work/cgdb/Makefile --- /usr/ports/devel/cgdb/Makefile Tue Jun 6 03:15:48 2006 +++ /home/staff/gslin/work/cgdb/Makefile Wed Jun 14 00:14:47 2006 @@ -7,6 +7,7 @@ PORTNAME= cgdb PORTVERSION= 0.6.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,12 +22,9 @@ .include -.if ${OSVERSION} < 600000 -IGNORE= it can be compiled, but cannot run -.endif - .if ${OSVERSION} < 700016 -LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +BUILD_DEPENDS+= ${LOCALBASE}/lib/readline.so.5:${PORTSDIR}/devel/readline +RUN_DEPENDS= ${BUILD_DEPENDS} LDFLAGS+= -rpath ${LOCALBASE}/lib CONFIGURE_ARGS+= --with-readline=${LOCALBASE} CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"