diff options
author | pho <pho> | 2015-02-11 13:29:42 +0000 |
---|---|---|
committer | pho <pho> | 2015-02-11 13:29:42 +0000 |
commit | a027f1c1f3c813afea353314119d0132b2c9de83 (patch) | |
tree | c30c8f041106edf86e3bd2d384c687c9e12f53c2 /textproc/hyperestraier/Makefile | |
parent | 768400d5b89f6af0ff8ba665501dee602cfb885b (diff) | |
download | pkgsrc-a027f1c1f3c813afea353314119d0132b2c9de83.tar.gz |
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 (limited to 'textproc/hyperestraier/Makefile')
-rw-r--r-- | textproc/hyperestraier/Makefile | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/textproc/hyperestraier/Makefile b/textproc/hyperestraier/Makefile index ed915262773..567e4b7069d 100644 --- a/textproc/hyperestraier/Makefile +++ b/textproc/hyperestraier/Makefile @@ -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 @@ USE_TOOLS+= pkg-config 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" |