summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2015-01-30 17:31:01 +0000
committernox <nox@FreeBSD.org>2015-01-30 17:31:01 +0000
commit457fe8660734bb7a44c2297224ddfbb05bba1f88 (patch)
tree0673b43b53f48631b1d5f1cfdd15beee55cdd579
parent7653142358e0741f0e7fc0b0b63b21ddd5b88121 (diff)
downloadFreeBSD-ports-457fe8660734bb7a44c2297224ddfbb05bba1f88.zip
FreeBSD-ports-457fe8660734bb7a44c2297224ddfbb05bba1f88.tar.gz
- Fix plist for non-x86. [1]
- Add missing USE_LDCONFIG. - Bump PORTREVISION. Reported by: sbruno (via private email) [1]
-rw-r--r--devel/cxxtools/Makefile18
-rw-r--r--devel/cxxtools/pkg-plist6
2 files changed, 23 insertions, 1 deletions
diff --git a/devel/cxxtools/Makefile b/devel/cxxtools/Makefile
index 0f06d09..a094e7f 100644
--- a/devel/cxxtools/Makefile
+++ b/devel/cxxtools/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cxxtools
PORTVERSION= 2.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.tntnet.org/download/
@@ -16,6 +16,7 @@ USE_CSTD= gnu89
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
@@ -37,5 +38,20 @@ PLIST_SUB+= X86_ONLY=""
.else
PLIST_SUB+= X86_ONLY="@comment "
.endif
+.if ${ARCH} == "arm" || ${ARCH} == "armv6"
+PLIST_SUB+= ARM_ONLY=""
+.else
+PLIST_SUB+= ARM_ONLY="@comment "
+.endif
+.if ${ARCH} == "mips" || ${ARCH} == "mips64"
+PLIST_SUB+= MIPS_ONLY=""
+.else
+PLIST_SUB+= MIPS_ONLY="@comment "
+.endif
+.if ${ARCH} == "powerpc" || ${ARCH} == "powerpc64"
+PLIST_SUB+= PPC_ONLY=""
+.else
+PLIST_SUB+= PPC_ONLY="@comment "
+.endif
.include <bsd.port.post.mk>
diff --git a/devel/cxxtools/pkg-plist b/devel/cxxtools/pkg-plist
index b4a4716..18ac808 100644
--- a/devel/cxxtools/pkg-plist
+++ b/devel/cxxtools/pkg-plist
@@ -31,6 +31,9 @@ include/cxxtools/argin.h
include/cxxtools/argout.h
%%X86_64_ONLY%%include/cxxtools/atomicity.gcc.x86_64.h
%%I386_ONLY%%include/cxxtools/atomicity.gcc.x86.h
+%%ARM_ONLY%%include/cxxtools/atomicity.gcc.arm.h
+%%MIPS_ONLY%%include/cxxtools/atomicity.gcc.mips.h
+%%PPC_ONLY%%include/cxxtools/atomicity.gcc.ppc.h
include/cxxtools/atomicity.h
include/cxxtools/base64codec.h
include/cxxtools/base64stream.h
@@ -122,6 +125,9 @@ include/cxxtools/md5stream.h
include/cxxtools/membar.gcc.h
include/cxxtools/membar.gcc.nosmp.h
%%X86_ONLY%%include/cxxtools/membar.gcc.x86.h
+%%ARM_ONLY%%include/cxxtools/membar.gcc.arm.h
+%%MIPS_ONLY%%include/cxxtools/membar.gcc.mips.h
+%%PPC_ONLY%%include/cxxtools/membar.gcc.ppc.h
include/cxxtools/membar.h
include/cxxtools/method.h
include/cxxtools/method.tpp
OpenPOWER on IntegriCloud