svn commit: r368449 - in head/devel/libast: . files

Tijl Coosemans tijl at FreeBSD.org
Thu Sep 18 13:09:48 UTC 2014


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>


More information about the svn-ports-head mailing list