aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb66
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2010-12-03 14:54:04 +0000
committerMikhail Teterin <mi@FreeBSD.org>2010-12-03 14:54:04 +0000
commita290f6018a985e4d63c96d74dbf31c6450d728bf (patch)
tree6891d2c401632ed898b2cd3bed2637c20b7339ed /devel/gdb66
parent9daf94fa7ae017e76822df442c639c86be2df89d (diff)
downloadports-a290f6018a985e4d63c96d74dbf31c6450d728bf.tar.gz
ports-a290f6018a985e4d63c96d74dbf31c6450d728bf.zip
Notes
Diffstat (limited to 'devel/gdb66')
-rw-r--r--devel/gdb66/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/devel/gdb66/Makefile b/devel/gdb66/Makefile
index b8f806b9b138..5ecf220365c9 100644
--- a/devel/gdb66/Makefile
+++ b/devel/gdb66/Makefile
@@ -16,7 +16,7 @@ MASTER_SITE_SUBDIR=gdb/:gdb
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:gdb
MAINTAINER= mi@aldan.algebra.com
-COMMENT= GNU GDB of newer version than comes with the system
+COMMENT?= GNU GDB of newer version than comes with the system
LATEST_LINK= gdb66
@@ -43,17 +43,12 @@ VER= ${PORTVERSION:S/.//}
PLIST_SUB= VER=${VER}
MAN1= gdb${VER}.1
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc"
-BROKEN= Does not configure on ia64 or powerpc
-.endif
+.include <bsd.port.options.mk>
.if defined(WITH_INSIGHT)
PKGNAMESUFFIX= -insight
PORTREVISION= 0
USE_TK= 84+
-.include "${PORTSDIR}/Mk/bsd.tcl.mk"
LIB_DEPENDS= itk:${PORTSDIR}/x11-toolkits/itk
RUN_DEPENDS= ${LOCALBASE}/lib/iwidgets:${PORTSDIR}/x11-toolkits/iwidgets
DISTFILES+= gdbtk-6.6${EXTRACT_SUFX}:gdbtk
@@ -83,6 +78,12 @@ PLIST_SUB+= INSIGHT='@comment '
CONFLICTS+= gdb-insight*
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc"
+BROKEN= Does not configure on ia64 or powerpc
+.endif
+
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.endif