diff options
Diffstat (limited to 'lang/scheme48/Makefile')
-rw-r--r-- | lang/scheme48/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/scheme48/Makefile b/lang/scheme48/Makefile index 95607d21ac0..bb957390acf 100644 --- a/lang/scheme48/Makefile +++ b/lang/scheme48/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2011/07/03 12:40:20 jym Exp $ +# $NetBSD: Makefile,v 1.34 2011/12/17 19:02:11 marino Exp $ DISTNAME= scheme48-1.8 CATEGORIES= lang @@ -7,7 +7,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://s48.org/ -COMMENT= The Scheme Underground's implementation of R5RS +COMMENT= The Scheme Underground implementation of R5RS NOT_FOR_PLATFORM= *-*-alpha # *severe* problems. Bus error, alignment @@ -29,6 +29,15 @@ REPLACE.scheme.old= .*/bin/env scheme-srfi-7 REPLACE.scheme.new= ${PREFIX}/bin/scheme-srfi-7 REPLACE_FILES.scheme= build/scheme48-config.in +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "DragonFly" +SUBST_CLASSES+= pthr +SUBST_STAGE.pthr= post-patch +SUBST_FILES.pthr= configure +SUBST_MESSAGE.pthr= Hardcoding -pthread in CFLAGS and LDFLAGS +SUBST_SED.pthr= -e 's,pthreads_done=\"no\",pthreads_done=\"yes\"; CFLAGS=\"$$CFLAGS -pthread\"; LDFLAGS=\"$$LDFLAGS -pthread\",' +.endif + post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV} cd ${WRKSRC}/doc && ${INSTALL_DATA} *.txt *.ps \ |