freebsd-ports/devel/liboil/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: liboil
# Date created: Nov 24, 2004
# Whom: ijliao
#
# $FreeBSD$
# $MCom: ports/devel/liboil/Makefile,v 1.7 2008/03/23 06:57:57 marcus Exp $
# $Id: Makefile 23 2006-10-25 14:24:32Z buhnux $
PORTNAME= liboil
PORTVERSION= 0.3.16
CATEGORIES= devel
MASTER_SITES= http://liboil.freedesktop.org/download/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Library of optimized inner loops
USE_GNOME= pkgconfig gnomehack gnometarget ltverhack
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--disable-glib
CFLAGS:= ${CFLAGS:N-O*} -O2
.include <bsd.port.pre.mk>
.if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042
USE_GCC= 4.2+
RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
pre-everything::
.if ${MACHINE_CPU:M3dnow}!="" && ${OSVERSION} < 700042
.if !defined(WITH_3DNOW_GCC40)
@${ECHO_MSG} "You can enable 3dnow extensions by defining"
@${ECHO_MSG} "WITH_3DNOW_GCC40=yes"
.endif
@${ECHO_MSG} ""
@${ECHO_MSG} "Note: ${PORTNAME} will depend on gcc4.0+ with WITH_3DNOW_GCC40"
@${ECHO_MSG} "defined."
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|<stdint\.h|<inttypes.h|g' \
${WRKSRC}/liboil/liboiltypes.h \
${WRKSRC}/liboil/liboilprofile.h \
${WRKSRC}/liboil/liboil.h
.include <bsd.port.post.mk>