pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

blasr_libcpp:



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <jwbacon%tds.net@localhost>
Pushed By:	outpaddling
Date:		Tue Oct 13 14:29:12 2015 -0500
Changeset:	efbb3145a1e99d256f506bda37dc0699ebfe3b1a

Modified Files:
	blasr_libcpp/Makefile

Log Message:
blasr_libcpp:

Wrap patch meant only for Darwin.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=efbb3145a1e99d256f506bda37dc0699ebfe3b1a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 blasr_libcpp/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/blasr_libcpp/Makefile b/blasr_libcpp/Makefile
index 10a1c7f..50ecbab 100644
--- a/blasr_libcpp/Makefile
+++ b/blasr_libcpp/Makefile
@@ -49,7 +49,9 @@ SUBST_STAGE.gcc44=	post-patch
 SUBST_FILES.gcc44=	${WRKSRC}/*/*
 SUBST_SED.gcc44=	-e 's|c++11|c++0x|g' \
 
-# OS X Lion
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == Darwin
 SUBST_CLASSES+=		headers
 SUBST_STAGE.headers=	post-patch
 SUBST_FILES.headers=	hdf/*.hpp pbdata/saf/*.hpp
@@ -59,6 +61,7 @@ SUBST_CLASSES+=		uintmax
 SUBST_STAGE.uintmax=	post-patch
 SUBST_FILES.uintmax=	${WRKSRC}/alignment/suffixarray/SuffixArray.hpp
 SUBST_SED.uintmax=	-e 's|UINT_MAX|INT_MAX|g'
+.endif
 
 CXXFLAGS+=	-I${LOCALBASE}/include -O
 MAKE_FILE=	makefile


Home | Main Index | Thread Index | Old Index