1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Update to 2.4.8

- Remove USE_GCC=3.4

PR:             ports/144660
Submitted by:   Andrius Morkunas <hinokind@gmail.com>
Approved by:    maintainer timeout (alepulver ; 185 days)
This commit is contained in:
Philip M. Gollucci 2010-09-14 02:45:55 +00:00
parent 536b8bee52
commit c62a82a1db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261112
3 changed files with 12 additions and 8 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= grx
PORTVERSION= 2.4.6
PORTREVISION= 3
PORTVERSION= 2.4.8
CATEGORIES= graphics
MASTER_SITES= http://grx.gnu.de/download/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
@ -15,7 +14,6 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A 2D graphics library
USE_GCC= 3.4
USE_GMAKE= yes
USE_XORG= x11
USE_LDCONFIG= yes
@ -100,6 +98,10 @@ CONFIGURE_ARGS+=--enable-zlib
CONFIGURE_ARGS+=--disable-zlib
.endif
.if ${ARCH} == amd64
CONFIGURE_ARGS+=--enable-x86_64
.endif
post-patch:
@${GREP} -ERl '<(malloc|alloca)\.h>' ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -Ee 's|<(malloc\|alloca)\.h>|<stdlib.h>|'
@ -107,8 +109,10 @@ post-patch:
's|^(CC[[:blank:]]*=).*|\1 ${CC}|; \
s|^(CCOPT =)|\1 ${CPPFLAGS} ${CFLAGS}|; \
s|^(LDOPT =)|\1 ${LDFLAGS}|;' \
-e 's|lib64|lib|' \
${WRKSRC}/makedefs.grx
@${REINPLACE_CMD} -e 's/gcc/${CC}/' ${WRKSRC}/src/makefile.[lx]*
@${REINPLACE_CMD} -e 's/gcc/${CC}/' -e 's|lib64|lib|' \
${WRKSRC}/src/makefile.[lx]*
post-install:
.if defined(WITH_GPC)

View File

@ -1,3 +1,3 @@
MD5 (grx246.tar.gz) = a9421e0256fa99a0f074ec75d99555e5
SHA256 (grx246.tar.gz) = 96d5beb9101b3aaab1f4e0d5558391002fd118f60ee25b5963cbc381d8ba5caf
SIZE (grx246.tar.gz) = 1550084
MD5 (grx248.tar.gz) = c4fbeeef428a9dce6c3dc84ab8f574cb
SHA256 (grx248.tar.gz) = 57e565689b7d0909f61818e9be0dbc14e6bceaa0b996ee84aca7fcb37a6733ed
SIZE (grx248.tar.gz) = 1510074

View File

@ -10,7 +10,7 @@ include/libbcc.h
lib/libgrx20X.a
lib/libgrx20X.so
lib/libgrx20X.so.2
lib/libgrx20X.so.2.4.6
lib/libgrx20X.so.2.4.8
%%DATADIR%%/fonts/char11.fnt
%%DATADIR%%/fonts/char11b.fnt
%%DATADIR%%/fonts/char11bi.fnt