diff options
author | marcus <marcus@FreeBSD.org> | 2004-02-22 09:57:23 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-02-22 09:57:23 +0800 |
commit | cf9d5996d29dffb02884d400adbdeb497fa2c81d (patch) | |
tree | cde020a2f47f347ba0f562acf5c2bf8a31bc62aa /devel | |
parent | 02982e65773f0f2b43171bc5a0bfa5c4c3369f87 (diff) | |
download | freebsd-ports-gnome-cf9d5996d29dffb02884d400adbdeb497fa2c81d.tar.gz freebsd-ports-gnome-cf9d5996d29dffb02884d400adbdeb497fa2c81d.tar.zst freebsd-ports-gnome-cf9d5996d29dffb02884d400adbdeb497fa2c81d.zip |
* Clean up the Makefile
* Configure to use modified GDB built in devel/fpc-gdb
PR: 62571
Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/fpc-gdbint/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/devel/fpc-gdbint/Makefile b/devel/fpc-gdbint/Makefile index e185f694f9af..44221a44628a 100644 --- a/devel/fpc-gdbint/Makefile +++ b/devel/fpc-gdbint/Makefile @@ -7,7 +7,7 @@ PORTNAME= gdbint PORTVERSION= 1.0.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/FreeBSD/ \ http://planetmirror.com/pub/fpc/dist/FreeBSD/ \ @@ -26,13 +26,11 @@ COMMENT= Free Pascal unit providing interface to gdb .include <bsd.port.pre.mk> -BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc -RUN_DEPENDS= ${BUILD_DEPENDS} -.if ${OSVERSION} >= 500000 -LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x -.endif +BUILD_DEPENDS+= ppc386:${PORTSDIR}/lang/fpc \ + gdbfpc:${PORTSDIR}/devel/fpc-gdb +RUN_DEPENDS+= ${BUILD_DEPENDS} .if ${OSVERSION} < 470000 -EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar +EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar TAR= ${LOCALBASE}/bin/gtar .endif USE_GMAKE= yes @@ -46,6 +44,7 @@ MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH \ INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \ INSTALL_BINDIR=${PREFIX}/bin \ GCCLIBDIR=/usr/lib \ + GDBLIBDIR=${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/gdbint/libgdb \ RELEASE=1 do-extract: @@ -67,11 +66,13 @@ post-patch: "Makefile*" | ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g' do-build: - cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/gdbint && \ - ${GMAKE} ${MAKE_ENV} all + @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ + ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/gdbint \ + all do-install: - cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/gdbint && \ - ${GMAKE} ${MAKE_ENV} install + @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ + ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/gdbint \ + install .include <bsd.port.post.mk> |