svn commit: r338353 - head/lang/ofc
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Jan 1 03:50:05 UTC 2014
Author: vanilla
Date: Wed Jan 1 03:50:04 2014
New Revision: 338353
URL: http://svnweb.freebsd.org/changeset/ports/338353
Log:
1: convert LIB_DEPENDS to new format.
2: remove NO_STAGE.
3: use USE_GCC=4.6 instead.
PR: ports/185306
Submitted by: tijl@
Modified:
head/lang/ofc/Makefile
head/lang/ofc/pkg-plist
Modified: head/lang/ofc/Makefile
==============================================================================
--- head/lang/ofc/Makefile Wed Jan 1 03:43:00 2014 (r338352)
+++ head/lang/ofc/Makefile Wed Jan 1 03:50:04 2014 (r338353)
@@ -3,17 +3,17 @@
PORTNAME= ofc
PORTVERSION= 0.8.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= lang
MASTER_SITES= GOOGLE_CODE
MAINTAINER= vanilla at 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_L
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>
Modified: head/lang/ofc/pkg-plist
==============================================================================
--- head/lang/ofc/pkg-plist Wed Jan 1 03:43:00 2014 (r338352)
+++ head/lang/ofc/pkg-plist Wed Jan 1 03:50:04 2014 (r338353)
@@ -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
More information about the svn-ports-all
mailing list