1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/lang/ofc/Makefile
Gerald Pfeifer 1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00

45 lines
1012 B
Makefile

# Created by: vanilla
# $FreeBSD$
PORTNAME= ofc
PORTVERSION= 0.8.1
PORTREVISION= 9
CATEGORIES= lang
MASTER_SITES= GOOGLE_CODE
MAINTAINER= vanilla@FreeBSD.org
COMMENT= The Objective-C Foundation Classes library
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \
libpng15.so:${PORTSDIR}/graphics/png \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libfreetype.so:${PORTSDIR}/print/freetype2
PROJECTHOST= ${PORTNAME}
USE_SDL= sdl
USE_AUTOTOOLS= libtool
USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
OPTIONS_DEFINE= GDBM GMP
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGDBM}
LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm
.endif
.if ${PORT_OPTIONS:MGMP}
LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp
.endif
.if ${OSVERSION} >= 900000
# 'obj/obj-api.h' deprecated on gcc4.7, so ofc require gcc4.6 or early version.
USE_GCC= 4.6
.endif
.include <bsd.port.mk>