remove the package if installed. This was then removed from perl core again, a port was added, but the quirk wasn't removed, so people who *don't* clean their /usr/libdata between updates would have the new version from packages removed, and people who *do* clean would see a message like this, "Not removing p5-Module-Pluggable-5.2 , /usr/libdata/perl5/Module/Pluggable.pm not found" Remove from quirks to fix.
30 lines
719 B
Makefile
30 lines
719 B
Makefile
# $OpenBSD: Makefile,v 1.352 2016/02/04 12:34:48 sthen Exp $
|
|
|
|
COMMENT = exceptions to pkg_add rules
|
|
CATEGORIES = devel databases
|
|
DISTFILES =
|
|
|
|
# API.rev
|
|
PKGNAME = quirks-2.197
|
|
PKG_ARCH = *
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERLDIR = ${PREFIX}/libdata/perl5/site_perl
|
|
|
|
do-build:
|
|
@perl -c ${FILESDIR}/Quirks.pm
|
|
# warning for File::Find::name is normal
|
|
@perl -c ${FILESDIR}/Quirks/texlive.pm
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PERLDIR}/OpenBSD
|
|
${INSTALL_DATA_DIR} ${PERLDIR}/OpenBSD/Quirks
|
|
${INSTALL_DATA} ${FILESDIR}/Quirks.pm ${PERLDIR}/OpenBSD/Quirks.pm
|
|
${INSTALL_DATA} ${FILESDIR}/Quirks/texlive.pm \
|
|
${PERLDIR}/OpenBSD/Quirks/texlive.pm
|
|
|
|
.include <bsd.port.mk>
|