Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cgdb |
8 |
PORTNAME= cgdb |
9 |
PORTVERSION= 0.6.2 |
9 |
PORTVERSION= 0.6.3 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 16-37
Link Here
|
16 |
|
16 |
|
17 |
INFO= cgdb |
17 |
INFO= cgdb |
18 |
MAN1= cgdb.1 |
18 |
MAN1= cgdb.1 |
19 |
PLIST_FILES= bin/cgdb |
|
|
20 |
|
19 |
|
21 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
|
|
21 |
USE_GETOPT_LONG= yes |
22 |
|
22 |
|
23 |
.include <bsd.port.pre.mk> |
23 |
.include <bsd.port.pre.mk> |
24 |
|
24 |
|
|
|
25 |
.if ${OSVERSION} < 600000 |
26 |
IGNORE= it can be compiled, but cannot run |
27 |
.endif |
28 |
|
25 |
.if ${OSVERSION} < 700016 |
29 |
.if ${OSVERSION} < 700016 |
26 |
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline |
30 |
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline |
|
|
31 |
LDFLAGS+= -rpath ${LOCALBASE}/lib |
27 |
CONFIGURE_ARGS+= --with-readline=${LOCALBASE} |
32 |
CONFIGURE_ARGS+= --with-readline=${LOCALBASE} |
|
|
33 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" |
28 |
.endif |
34 |
.endif |
29 |
|
|
|
30 |
.if ${OSVERSION} < 500000 |
31 |
BROKEN= Does not compile on FreeBSD 4.X |
32 |
.endif |
33 |
|
34 |
post-patch: |
35 |
${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure |
36 |
|
35 |
|
37 |
.include <bsd.port.post.mk> |
36 |
.include <bsd.port.post.mk> |