Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 11:51:15 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r350799 - branches/2014Q2/emulators/tme
Message-ID:  <201404101151.s3ABpFvh006445@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Apr 10 11:51:14 2014
New Revision: 350799
URL: http://svnweb.freebsd.org/changeset/ports/350799
QAT: https://qat.redports.org/buildarchive/r350799/

Log:
  MFH: r350792
  
  - Add staging support
  - More precise LICENSE
  - Remove some dependencies pulled in automatically by others
  - Fix build with clang
  
  Approved by:	portmgr (bapt)

Modified:
  branches/2014Q2/emulators/tme/Makefile
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/emulators/tme/Makefile
==============================================================================
--- branches/2014Q2/emulators/tme/Makefile	Thu Apr 10 11:44:51 2014	(r350798)
+++ branches/2014Q2/emulators/tme/Makefile	Thu Apr 10 11:51:14 2014	(r350799)
@@ -10,24 +10,14 @@ MASTER_SITES=	http://people.csail.mit.ed
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Emulator for Sun 2/120, 3/150, and SPARCstation 2 machines
 
-LICENSE=	BSD
+LICENSE=	BSD4CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
-		pcre:${PORTSDIR}/devel/pcre \
-		cairo:${PORTSDIR}/graphics/cairo \
-		png15:${PORTSDIR}/graphics/png \
-		freetype:${PORTSDIR}/print/freetype2 \
-		expat:${PORTSDIR}/textproc/expat2 \
-		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
-
-USES=		pkgconfig gettext gmake iconv perl5
+USES=		compiler gmake gettext iconv perl5 pkgconfig
 USE_GNOME=	gdkpixbuf2 gtk20
 USE_AUTOTOOLS=	libtool libltdl
 CONFIGURE_ENV=	ac_cv_have_isinff=no
-CONFIGURE_ARGS=	--datadir=${WRKDIR}/tmproot --disable-warnings
-USE_XORG=	pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
-		xi xinerama xrandr xrender
+CONFIGURE_ARGS=	--disable-warnings
 USE_LDCONFIG=	yes
 MAKE_ENV=	LANG=C
 MAKE_JOBS_UNSAFE=yes
@@ -36,11 +26,13 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${WRKSRC}/ic/ieee754/.libs
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	EXAMPLES
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang
+CFLAGS+=	-fbracket-depth=1024
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e '/misc_hosts/s|= no|= xno|' \
@@ -54,11 +46,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
 		${WRKSRC}/libtme/module.c
 
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKDIR}/tmproot/examples/tme \
-		&& ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404101151.s3ABpFvh006445>