Lines 1-5
Link Here
|
1 |
# ex:ts=8 |
1 |
# ex:ts=8 |
2 |
# Ports collection makefile for: GDB 7.1 |
2 |
# Ports collection makefile for: GDB 7.3.x |
3 |
# Date created: 16 November 2010 |
3 |
# Date created: 16 November 2010 |
4 |
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org> |
4 |
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org> |
5 |
# |
5 |
# |
Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= gdb |
9 |
PORTNAME= gdb |
10 |
PORTVERSION= 7.3.1 |
10 |
PORTVERSION= 7.3.1 |
11 |
PORTREVISION= 1 |
11 |
PORTREVISION= 2 |
12 |
CATEGORIES= devel |
12 |
CATEGORIES= devel |
13 |
MASTER_SITES= ${MASTER_SITE_GNU:S,$,:gdb,} |
13 |
MASTER_SITES= ${MASTER_SITE_GNU:S,$,:gdb,} |
14 |
MASTER_SITE_SUBDIR=gdb/:gdb |
14 |
MASTER_SITE_SUBDIR=gdb/:gdb |
Lines 42-48
Link Here
|
42 |
|
42 |
|
43 |
OPTIONS= DEBUG "Build with debugging symbols" off \ |
43 |
OPTIONS= DEBUG "Build with debugging symbols" off \ |
44 |
EXPAT "Enable XML parsing for metadata" off \ |
44 |
EXPAT "Enable XML parsing for metadata" off \ |
45 |
PYTHON "Enable Python support" off |
45 |
PYTHON "Enable Python support" off \ |
|
|
46 |
THREAD "Enable Thread support" on |
46 |
|
47 |
|
47 |
.include <bsd.port.options.mk> |
48 |
.include <bsd.port.options.mk> |
48 |
|
49 |
|
Lines 83-89
Link Here
|
83 |
post-patch: |
84 |
post-patch: |
84 |
@${REINPLACE_CMD} -e 's/$$/ [GDB v${PORTVERSION} for FreeBSD]/' \ |
85 |
@${REINPLACE_CMD} -e 's/$$/ [GDB v${PORTVERSION} for FreeBSD]/' \ |
85 |
${WRKSRC}/gdb/version.in |
86 |
${WRKSRC}/gdb/version.in |
|
|
87 |
.if defined(WITH_THREAD) |
86 |
@${CP} ${FILESDIR}/fbsd-threads.c ${WRKSRC}/gdb |
88 |
@${CP} ${FILESDIR}/fbsd-threads.c ${WRKSRC}/gdb |
|
|
89 |
.endif |
87 |
|
90 |
|
88 |
do-install: |
91 |
do-install: |
89 |
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdb${VER} |
92 |
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdb${VER} |