pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/poppler



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Jun 27 10:46:15 UTC 2023

Modified Files:
        pkgsrc/print/poppler: Makefile

Log Message:
print/poppler: Make this cross-compile.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 pkgsrc/print/poppler/Makefile

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

Modified files:

Index: pkgsrc/print/poppler/Makefile
diff -u pkgsrc/print/poppler/Makefile:1.93 pkgsrc/print/poppler/Makefile:1.94
--- pkgsrc/print/poppler/Makefile:1.93  Tue Jun 27 10:46:03 2023
+++ pkgsrc/print/poppler/Makefile       Tue Jun 27 10:46:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2023/06/27 10:46:03 riastradh Exp $
+# $NetBSD: Makefile,v 1.94 2023/06/27 10:46:15 riastradh Exp $
 
 PKGREVISION=   1
 .include "../../print/poppler/Makefile.common"
@@ -27,6 +27,11 @@ CMAKE_ARGS+= -DRUN_GPERF_IF_PRESENT=OFF
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${USE_CROSS_COMPILE:tl} == "yes"
+ALL_ENV+=      PKG_CONFIG_SYSROOT_DIR=${CROSS_DESTDIR:Q}
+CMAKE_ARGS+=   -DCMAKE_SYSROOT:STRING=${CROSS_DESTDIR:Q}
+.endif
+
 # Passing "-ansi" turns "long long" support off on FreeBSD/amd64:
 .if ${OPSYS} == "FreeBSD" && ${MACHINE_ARCH} == "x86_64"
 CFLAGS+=       -D__LONG_LONG_SUPPORTED=



Home | Main Index | Thread Index | Old Index