diff options
author | stas <stas@FreeBSD.org> | 2009-12-18 12:11:03 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-12-18 12:11:03 +0800 |
commit | 1bf3b6c170cfdfe23aa4f583e696e5e7afd0b142 (patch) | |
tree | 144288a59790ac90633cce29e9692dfb1fb13ef0 /lang/Sather | |
parent | 3fa88f61dc1f10cd3ea4bb4793986e7c503da3f7 (diff) | |
download | freebsd-ports-gnome-1bf3b6c170cfdfe23aa4f583e696e5e7afd0b142.tar.gz freebsd-ports-gnome-1bf3b6c170cfdfe23aa4f583e696e5e7afd0b142.tar.zst freebsd-ports-gnome-1bf3b6c170cfdfe23aa4f583e696e5e7afd0b142.zip |
- Use libraries from boehm-gc-redirect instead of building own version.
This fixes build failure after the boehm-gc update.
Reported by: pav
Diffstat (limited to 'lang/Sather')
-rw-r--r-- | lang/Sather/Makefile | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/lang/Sather/Makefile b/lang/Sather/Makefile index 3d138a179df0..d9339a68fb4e 100644 --- a/lang/Sather/Makefile +++ b/lang/Sather/Makefile @@ -8,7 +8,7 @@ PORTNAME= sather PORTVERSION= 1.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,7 +19,8 @@ COMMENT= Sather compiler # # NOTE: currently build fails with threaded Tk # -LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 +LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 \ + gc-redirect.1:${PORTSDIR}/devel/boehm-gc-redirect BUILD_DEPENDS= ${LOCALBASE}/bin/libtool:${PORTSDIR}/devel/libtool22 USE_BZIP2= yes @@ -29,11 +30,11 @@ MAN1= sabrowse.1 sacomp.1 INFO= sather sather-mode sather-tutorial -SAT_CFLAGS= ${CFLAGS} -I. -I${BC_DIR}/include \ +SAT_CFLAGS= ${CFLAGS} -I. \ -I../System/Common \ -I${LOCALBASE}/include \ -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 -SAT_LIBS= -L${BC_DIR}/.libs -L${LOCALBASE}/lib -lgc -lm +SAT_LIBS= -L${LOCALBASE}/lib -lgc-redirect -lm SAT_LIBDIR= ${PREFIX}/lib/sather OPTIONS= EMACS "Install Emacs syntax files" off @@ -44,12 +45,6 @@ PORTDOCS= * .include <bsd.port.pre.mk> -.if ${ARCH} == "ia64" -BROKEN= boehm-gc is broken on ia64 -.endif - -BC_DIR!= cd ${PORTSDIR}/devel/boehm-gc && ${MAKE} -V WRKSRC - post-extract: # # Precompiled binaries are for Linux only @@ -110,17 +105,6 @@ post-patch: # @${ECHO_CMD} \"abort2\" >> ${WRKSRC}/System/FORBID -pre-build: -# -# We need to clean since REDIRECT is required -# - @(cd ${PORTSDIR}/devel/boehm-gc && \ - ${MAKE} BATCH=yes WITH_REDIRECT=yes clean all) -# -# We're wanting static linking -# - @${RM} -f ${BC_DIR}/.libs/*.so* - post-build: .for file in sather-tutorial.texinfo sather-mode.texinfo sather.texinfo cd ${WRKSRC}/Emacs && makeinfo --no-split ${file} |