Changeset View
Changeset View
Standalone View
Standalone View
gdb/Makefile
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org> | # Created by: Steven Kreuzer <skreuzer@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= gdb | PORTNAME= gdb | ||||
PORTVERSION= 7.12.1 | PORTVERSION= 8.0 | ||||
PORTREVISION= 2 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= GNU | MASTER_SITES= GNU | ||||
MAINTAINER= luca.pizzamiglio@gmail.com | MAINTAINER= luca.pizzamiglio@gmail.com | ||||
COMMENT= GNU GDB of newer version than comes with the system | COMMENT= GNU GDB of newer version than comes with the system | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
TEST_DEPENDS= runtest:misc/dejagnu | TEST_DEPENDS= runtest:misc/dejagnu | ||||
TEST_TARGET= check | TEST_TARGET= check | ||||
USES= compiler:env cpe iconv gmake libtool tar:xz | USES= compiler:c++11-lib cpe iconv gmake libtool tar:xz | ||||
USE_CSTD= gnu89 | USE_CSTD= gnu89 | ||||
CPE_VENDOR= gnu | CPE_VENDOR= gnu | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ENV= CONFIGURED_M4=m4 CONFIGURED_BISON=byacc | CONFIGURE_ENV= CONFIGURED_M4=m4 CONFIGURED_BISON=byacc | ||||
CONFIGURE_ARGS= --program-suffix=${PORTVERSION:S/.//g} \ | CONFIGURE_ARGS= --program-suffix=${PORTVERSION:S/.//g} \ | ||||
--enable-targets=all --enable-64-bit-bfd \ | --enable-targets=all --enable-64-bit-bfd \ | ||||
--with-gdb-datadir=${PREFIX}/share/gdb${PORTVERSION:S/.//g} \ | --with-gdb-datadir=${PREFIX}/share/gdb${PORTVERSION:S/.//g} \ | ||||
--with-separate-debug-dir=/usr/lib/debug \ | --with-separate-debug-dir=/usr/lib/debug \ | ||||
${ICONV_CONFIGURE_ARG} \ | ${ICONV_CONFIGURE_ARG} \ | ||||
--with-expat=yes --with-libexpat-prefix=${LOCALBASE} \ | --with-expat=yes --with-libexpat-prefix=${LOCALBASE} \ | ||||
--without-libunwind-ia64 | --without-libunwind-ia64 | ||||
CFLAGS:= ${CFLAGS:C/ +$//} # blanks at EOL creep in sometimes | CFLAGS:= ${CFLAGS:C/ +$//} # blanks at EOL creep in sometimes | ||||
CFLAGS+= -DRL_NO_COMPAT -Wno-unused-function -Wno-unused-variable | CFLAGS+= -DRL_NO_COMPAT -Wno-unused-function -Wno-unused-variable | ||||
EXCLUDE= dejagnu expect sim texinfo intl | EXCLUDE= dejagnu expect sim texinfo intl | ||||
EXTRACT_AFTER_ARGS= ${EXCLUDE:S/^/--exclude /} | EXTRACT_AFTER_ARGS= ${EXCLUDE:S/^/--exclude /} | ||||
EXTRA_PATCHES= ${FILESDIR}/commit-387360daf9 \ | EXTRA_PATCHES= ${FILESDIR}/commit-b5430a3ced | ||||
${FILESDIR}/commit-b268007c68 | |||||
LIB_DEPENDS+= libexpat.so:textproc/expat2 | LIB_DEPENDS+= libexpat.so:textproc/expat2 | ||||
VER= ${PORTVERSION:S/.//g} | VER= ${PORTVERSION:S/.//g} | ||||
PLIST_SUB= VER=${VER} | PLIST_SUB= VER=${VER} | ||||
# untested elsewhere, might work | # untested elsewhere, might work | ||||
ONLY_FOR_ARCHS= amd64 armv6 i386 mips powerpc powerpc64 | ONLY_FOR_ARCHS= amd64 armv6 i386 mips powerpc powerpc64 | ||||
Show All 15 Lines | |||||
BUNDLED_READLINE_CONFIGURE_OFF= --with-system-readline | BUNDLED_READLINE_CONFIGURE_OFF= --with-system-readline | ||||
DEBUG_CFLAGS= -g | DEBUG_CFLAGS= -g | ||||
GUILE_CONFIGURE_WITH= guile | GUILE_CONFIGURE_WITH= guile | ||||
GUILE_USES= pkgconfig | GUILE_USES= pkgconfig | ||||
GUILE_LIB_DEPENDS= libguile-2.0.so:lang/guile2 | GUILE_LIB_DEPENDS= libguile-2.0.so:lang/guile2 | ||||
PORT_READLINE_USES= readline:port | PORT_READLINE_USES= readline:port | ||||
PYTHON_CONFIGURE_ON= --with-python=${PYTHON_CMD} | PYTHON_CONFIGURE_ON= --with-python=${PYTHON_CMD} | ||||
PYTHON_CONFIGURE_OFF= --without-python | PYTHON_CONFIGURE_OFF= --without-python | ||||
PYTHON_USES= python:2 | PYTHON_USES= python | ||||
TUI_CONFIGURE_ENABLE= tui | TUI_CONFIGURE_ENABLE= tui | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE} | .if ! ${PORT_OPTIONS:MBUNDLED_READLINE} | ||||
EXCLUDE+= readline | EXCLUDE+= readline | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |