diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2010-12-03 22:54:04 +0800 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2010-12-03 22:54:04 +0800 |
commit | a290f6018a985e4d63c96d74dbf31c6450d728bf (patch) | |
tree | 6891d2c401632ed898b2cd3bed2637c20b7339ed /devel/gdb66 | |
parent | 9daf94fa7ae017e76822df442c639c86be2df89d (diff) | |
download | freebsd-ports-gnome-a290f6018a985e4d63c96d74dbf31c6450d728bf.tar.gz freebsd-ports-gnome-a290f6018a985e4d63c96d74dbf31c6450d728bf.tar.zst freebsd-ports-gnome-a290f6018a985e4d63c96d74dbf31c6450d728bf.zip |
Add a slave port of insight -- the gdb's GUI front-end. Having a slave
port will ensure, the packages are auto-built for insight and that the
WITH_INSIGHT option of gdb66 does not bit-rot with time...
In gdb66 use bsd.port.options.mk to parse options and then act on them
before bsd.port.pre.mk -- as
Suggested by: pav
Diffstat (limited to 'devel/gdb66')
-rw-r--r-- | devel/gdb66/Makefile | 15 |
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 |