1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

1: convert LIB_DEPENDS to new format.

2: remove NO_STAGE.
3: use USE_GCC=4.6 instead.

PR:		ports/185306
Submitted by:	tijl@
This commit is contained in:
Vanilla I. Shu 2014-01-01 03:50:04 +00:00
parent df14c0145a
commit e8d940c7b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338353
2 changed files with 11 additions and 19 deletions

View File

@ -3,17 +3,17 @@
PORTNAME= ofc
PORTVERSION= 0.8.1
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= lang
MASTER_SITES= GOOGLE_CODE
MAINTAINER= vanilla@FreeBSD.org
COMMENT= The Objective-C Foundation Classes library
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
png15:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg \
freetype:${PORTSDIR}/print/freetype2
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
@ -26,27 +26,19 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
OPTIONS_DEFINE= GDBM GMP
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGDBM}
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm
.endif
.if ${PORT_OPTIONS:MGMP}
LIB_DEPENDS+= gmp:${PORTSDIR}/math/gmp
LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp
.endif
.if ${OSVERSION} >= 900000
# needs libobjc
GCCSUFFIX= 46
CC= gcc${GCCSUFFIX}
CXX= g++${GCCSUFFIX}
OFC_GCC_PORT?= lang/gcc${GCCSUFFIX}
TARGLIB!= ${MAKE} -C ${PORTSDIR}/${OFC_GCC_PORT} -V TARGLIB
LDFLAGS+= -L${TARGLIB}
BUILD_DEPENDS+= ${TARGLIB}/libobjc.so:${PORTSDIR}/${OFC_GCC_PORT}
RUN_DEPENDS+= ${TARGLIB}/libobjc.so:${PORTSDIR}/${OFC_GCC_PORT}
USE_GCC= 4.6
.endif
.include <bsd.port.mk>

View File

@ -65,11 +65,11 @@ include/ofc/DRnd.h
include/ofc/DRndDist.h
include/ofc/DSHA1.h
include/ofc/DSHA256.h
include/ofc/DSimpleFont.h
include/ofc/DScore.h
include/ofc/DScreenHandler.h
include/ofc/DShort.h
include/ofc/DSimpleArithmetic.h
include/ofc/DSimpleFont.h
include/ofc/DSizeable.h
include/ofc/DSocket.h
include/ofc/DSocketAddress.h
@ -102,9 +102,9 @@ include/ofc/config.h
include/ofc/md5.h
include/ofc/settings.h
include/ofc/warning.h
lib/libofc-0.8.so
lib/libofc-0.8.so.1
lib/libofc.a
lib/libofc.la
lib/libofc.so
lib/libofc-0.8.so
lib/libofc-0.8.so.1
@dirrm include/ofc