[BACK]Return to hacks.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / py-omniORBpy

File: [cvs.NetBSD.org] / pkgsrc / net / py-omniORBpy / hacks.mk (download)

Revision 1.2, Mon Apr 8 11:17:18 2013 UTC (11 years ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.1: +3 -3 lines

Remove "Trailing empty lines." and/or "Trailing white-space."

# $NetBSD: hacks.mk,v 1.2 2013/04/08 11:17:18 rodent Exp $
.if !defined(HACKS_MK)
HACKS_MK= defined

### [ Tue Feb 28 17:44:28 NZDT 2012 : sbd ]
### The omniORB package install files into ${PYSITELIB}/omniidl_be,
### but the only files that conflicts are __init__.py with the comment
### "Empty file to convince Python that this is a module." and __init__.pyc.
### So if this package is being built with the same PYTHON_VERSION_DEFAULT as
### omniORB was simply don't install the __int__.py{,c} files.
###
PKG_HACKS+=	omniidl_be_init
PLIST_VARS+=    omniidl_be_init
.if defined(_PKGSRC_BARRIER)
omniORB_PYTHON_VERSION!=	${PKG_INFO} -Q PYTHON_VERSION_DEFAULT omniORB
.  if "${omniORB_PYTHON_VERSION}" != "${PYTHON_VERSION_DEFAULT}"
PLIST.omniidl_be_init=  yes
INSTALL_ENV+=   INSTALL_OMNIIDL_BE_INIT=yes
.  endif
.endif

.endif  # FOO_HACKS_MK