diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-08-12 07:14:44 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-08-12 07:14:44 +0000 |
commit | dbd08195c748c878161571e1b9e3d09b96bd15b3 (patch) | |
tree | e81704df25542482f32e87c0c4b59172d22fcc2e /textproc/skim | |
parent | f3a4d01c12dcb2d993a4b41ca52ef8f5265845ab (diff) |
1: Make scim buildable on 4-X.
2: Add sf.net to MASTER_SITE.
3: make other ports BROKEN on 4-X.
PR: ports/70326
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=115997
Diffstat (limited to 'textproc/skim')
-rw-r--r-- | textproc/skim/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/textproc/skim/Makefile b/textproc/skim/Makefile index 4d14e35f597b..93ef814d7a0d 100644 --- a/textproc/skim/Makefile +++ b/textproc/skim/Makefile @@ -7,6 +7,7 @@ PORTNAME= skim PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= textproc kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://freedesktop.org/~cougar/skim/downloads/ @@ -22,10 +23,21 @@ USE_ICONV= yes USE_GMAKE= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D__STDC_ISO_10646__" \ - PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + +CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CONFIGURE_ENV+= CXXFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \ + LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}" +.else +CONFIGURE_ENV+= CXXFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" +.endif pre-configure: ${REINPLACE_CMD} "s,-pedantic,,g; \ s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure @@ -35,4 +47,4 @@ post-install: @${CAT} ${PKGMESSAGE} @${ECHO} To display this message again, type make post-install -.include <bsd.port.mk> +.include <bsd.port.post.mk> |