summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-09-07 16:29:06 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-09-07 16:29:06 +0000
commitfa6c93cb330101915be9f22b24ecfcbc1d2e9bc2 (patch)
tree36019e83050db6bc1e072f2871dcc22e3abd45ae /x11-toolkits
parent- Unbreak the build on big-endian architectures (particularly, on PowerPC) (diff)
This port does not in fact link on PowerPC because of missing
__sync_bool_compare_and_swap_8() implementation. While here, arrange the knobs in a more logical order, improve on COMMENT, and fix some minor whitespace issues.
Notes
Notes: svn path=/head/; revision=396280
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/fox17/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index 62e21b2320ec..fb5bc30af838 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -5,21 +5,16 @@ PORTNAME= fox
PORTVERSION= 1.7.50
CATEGORIES= x11-toolkits
MASTER_SITES= http://ftp.fox-toolkit.org/pub/ \
- ftp://ftp.fox-toolkit.org/pub/
+ ftp://ftp.fox-toolkit.org/pub/
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Fast and extensive C++ GUI toolkit -- devel version
+COMMENT= Fast and extensive C++ GUI toolkit (development version)
-OPTIONS_DEFINE= DOCS JPEG PNG TIFF WEBP
-OPTIONS_DEFAULT=JPEG PNG TIFF WEBP
-
-MAJORVER= ${PORTVERSION:R}
-PLIST_SUB+= MAJORVER=${MAJORVER}
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER}
+BROKEN_powerpc= missing __sync_bool_compare_and_swap_8()
-GNU_CONFIGURE= yes
USES= libtool pathfix
+GNU_CONFIGURE= yes
USE_GL= glut
USE_XORG= sm xft
USE_LDCONFIG= yes
@@ -30,6 +25,13 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
+MAJORVER= ${PORTVERSION:R}
+PLIST_SUB+= MAJORVER=${MAJORVER}
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER}
+
+OPTIONS_DEFINE= DOCS JPEG PNG TIFF WEBP
+OPTIONS_DEFAULT= JPEG PNG TIFF WEBP
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJPEG}
@@ -56,10 +58,6 @@ LIB_DEPENDS+= libwebp.so:${PORTSDIR}/graphics/webp
CONFIGURE_ARGS+=--disable-webp
.endif
-.if ${ARCH} == "powerpc"
-BROKEN= Does not link on powerpc
-.endif
-
post-patch:
# Rename man pages as in manpage.1 --> manpage-17.1 to avoid
# conflicts with fox14 and fox16
@@ -76,6 +74,6 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libFOX-${MAJORVER}.so \
- ${STAGEDIR}${PREFIX}/lib/libCHART-${MAJORVER}.so
+ ${STAGEDIR}${PREFIX}/lib/libCHART-${MAJORVER}.so
.include <bsd.port.mk>