aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb66/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-10-28 02:37:40 +0800
committerobrien <obrien@FreeBSD.org>2004-10-28 02:37:40 +0800
commitd9ef8a154d5280f2d945598ddebccdc7463ad379 (patch)
tree6e9b70847f7a60aaebc95d4f2b848ec5998dd491 /devel/gdb66/Makefile
parent836da93882654e8d072173128ec2b1541afdc121 (diff)
downloadfreebsd-ports-gnome-d9ef8a154d5280f2d945598ddebccdc7463ad379.tar.gz
freebsd-ports-gnome-d9ef8a154d5280f2d945598ddebccdc7463ad379.tar.zst
freebsd-ports-gnome-d9ef8a154d5280f2d945598ddebccdc7463ad379.zip
Really allow building on 4.x. Rev 1.40 was a NOP as the base readline lib
(libreadline.so.4) was the same name as the ports's library. So Rev 1.40 only worked if you manually installed the readline port. This fix allows gdb6 to build with the base stock readline.
Diffstat (limited to 'devel/gdb66/Makefile')
-rw-r--r--devel/gdb66/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/devel/gdb66/Makefile b/devel/gdb66/Makefile
index c9e834ca5305..ffa14b8b6573 100644
--- a/devel/gdb66/Makefile
+++ b/devel/gdb66/Makefile
@@ -35,9 +35,7 @@ CFLAGS+= -DRL_NO_COMPAT -DKGDB
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-USE_GCC?= 3.4
-LIB_DEPENDS= readline.4:${PORTSDIR}/devel/readline
-CFLAGS+= -Wl,--rpath -Wl,${PREFIX}/lib
+CFLAGS+= -include ${FILESDIR}/fbsd4.h
.endif
.if ${ARCH} == "amd64"