aboutsummaryrefslogtreecommitdiff
path: root/graphics/grx
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-14 02:45:55 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-14 02:45:55 +0000
commitc62a82a1db418236833fc098d207416753355060 (patch)
tree64cbf739463f2402d135c7df99b822d8ff1389d7 /graphics/grx
parent536b8bee5237d12f81b73be7411c574295a34417 (diff)
downloadports-c62a82a1db418236833fc098d207416753355060.tar.gz
ports-c62a82a1db418236833fc098d207416753355060.zip
Notes
Diffstat (limited to 'graphics/grx')
-rw-r--r--graphics/grx/Makefile12
-rw-r--r--graphics/grx/distinfo6
-rw-r--r--graphics/grx/pkg-plist2
3 files changed, 12 insertions, 8 deletions
diff --git a/graphics/grx/Makefile b/graphics/grx/Makefile
index da6251a825cf..bd24dfacb556 100644
--- a/graphics/grx/Makefile
+++ b/graphics/grx/Makefile
@@ -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)
diff --git a/graphics/grx/distinfo b/graphics/grx/distinfo
index f6dcdc039725..29a27033bca0 100644
--- a/graphics/grx/distinfo
+++ b/graphics/grx/distinfo
@@ -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
diff --git a/graphics/grx/pkg-plist b/graphics/grx/pkg-plist
index 4f745d9a74aa..a6cf2aba840a 100644
--- a/graphics/grx/pkg-plist
+++ b/graphics/grx/pkg-plist
@@ -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