pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/pod2mdoc



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jul 11 06:12:45 UTC 2023

Modified Files:
        pkgsrc/textproc/pod2mdoc: Makefile

Log Message:
pod2mdoc: More than just NetBSD lacks ohash.h.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/pod2mdoc/Makefile

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

Modified files:

Index: pkgsrc/textproc/pod2mdoc/Makefile
diff -u pkgsrc/textproc/pod2mdoc/Makefile:1.17 pkgsrc/textproc/pod2mdoc/Makefile:1.18
--- pkgsrc/textproc/pod2mdoc/Makefile:1.17      Tue Jun 28 11:36:49 2022
+++ pkgsrc/textproc/pod2mdoc/Makefile   Tue Jul 11 06:12:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/06/28 11:36:49 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2023/07/11 06:12:45 nia Exp $
 
 DISTNAME=      pod2mdoc-0.2
 PKGREVISION=   7
@@ -13,12 +13,15 @@ LICENSE=    isc
 
 BUILD_TARGET=  pod2mdoc
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "OpenBSD"
+CPPFLAGS+=     -DHAVE_OHASH=0
+.endif
+
 INSTALLATION_DIRS=     bin     ${PKGMANDIR}/man1
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/pod2mdoc ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/pod2mdoc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
-CPPFLAGS.NetBSD+=      -DHAVE_OHASH=0
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index