Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 13:09:48 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368449 - in head/devel/libast: . files
Message-ID:  <201409181309.s8ID9m2u025808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Sep 18 13:09:48 2014
New Revision: 368449
URL: http://svnweb.freebsd.org/changeset/ports/368449
QAT: https://qat.redports.org/buildarchive/r368449/

Log:
  - Remove old libtool patches and add INSTALL_TARGET=install-strip
  - Auto-detect MMX support

Deleted:
  head/devel/libast/files/patch-configure
Modified:
  head/devel/libast/Makefile

Modified: head/devel/libast/Makefile
==============================================================================
--- head/devel/libast/Makefile	Thu Sep 18 13:05:50 2014	(r368448)
+++ head/devel/libast/Makefile	Thu Sep 18 13:09:48 2014	(r368449)
@@ -18,17 +18,13 @@ LIB_DEPENDS=	libpcre.so:${PORTSDIR}/deve
 USE_EFL=	imlib2
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LIBS+=		-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 USES=		libtool pathfix
 
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_MMX) && (${ARCH} == "i386")
-CONFIGURE_ARGS=	--enable-mmx
+.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
+CONFIGURE_ARGS+=--enable-mmx
 .endif
 
-post-build:
-	@${STRIP_CMD} ${WRKSRC}/src/.libs/libast.so.2
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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