pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hyperestraier Fix build failure on Darwin and...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b639e4a7f15
branches:  trunk
changeset: 646569:7b639e4a7f15
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 11 13:29:42 2015 +0000

description:
Fix build failure on Darwin and HP-UX. Mark Cygwin as broken

${WRKSRC}/Makefile defines different targets for each non-ELF
platforms. And for Cygwin, there is no installation target so I marked
it as BROKEN_ON_PLATFORM.

Tested on Darwin but not on HP-UX though.

diffstat:

 textproc/hyperestraier/Makefile |  24 +++++++++++++++++++++++-
 1 files changed, 23 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 444f17e860de -r 7b639e4a7f15 textproc/hyperestraier/Makefile
--- a/textproc/hyperestraier/Makefile   Wed Feb 11 13:27:22 2015 +0000
+++ b/textproc/hyperestraier/Makefile   Wed Feb 11 13:29:42 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2012/10/25 06:55:56 asau Exp $
+# $NetBSD: Makefile,v 1.28 2015/02/11 13:29:42 pho Exp $
 
 .include "Makefile.common"
 
@@ -12,6 +12,28 @@
 PKGCONFIG_OVERRIDE=    hyperestraier.pc.in
 TEST_TARGET=           check
 
+# ${WRKSRC}/Makefile defines different targets for each non-ELF
+# platforms. And for Cygwin, there is no installation target...
+BROKEN_ON_PLATFORM+=   Cygwin-*-*
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Cygwin"
+BUILD_TARGET=  win
+TEST_TARGET=   # none
+INSTALL_TARGET=        # none
+
+.elif ${OPSYS} == "Darwin"
+BUILD_TARGET=  mac
+TEST_TARGET=   check-mac
+INSTALL_TARGET=        install-mac
+
+.elif ${OPSYS} == "HPUX"
+BUILD_TARGET=  hpux
+TEST_TARGET=   check-hpux
+INSTALL_TARGET=        install-hpux
+.endif
+
 BUILDLINK_API_DEPENDS.qdbm+=   qdbm>=1.8.75
 
 .include "../../archivers/bzip2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index