pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30029
Could you please try replacing all instances of CONFIGURE_ENV to
CONFIGURE_ARGS? I guess something wired is going on with your
shell... Thank you.
I'm having the same problem on Solaris 10, but I just realized how stupidly
simple this is.
devel/glib2/Makefile doesn't include bsd.prefs.mk before adding to CPPFLAGS.
When bsd.prefs.mk is eventually included, it overwrites CPPFLAGS because I have
CPPFLAGS=, not CPPFLAGS+=, in my mk.conf.
Here's a new patch that fixes this. It's the same problem with pkg/30081
(x11/gtk2) and I've tested the same fix for it. I suspect it's the same with
pkg/30030 (databases/shared-mime-info) as well.
--- Makefile.orig Thu Sep 22 12:34:50 2005
+++ Makefile Mon Sep 26 11:00:29 2005
@@ -47,12 +47,12 @@
CONFIGURE_ENV+= PERL_PATH=${PERL5}
-CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
-CPPFLAGS+= -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
-CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
-
.include "../../mk/bsd.prefs.mk"
+CPPFLAGS+= -DPREFIX=\"${PREFIX}\"
+CPPFLAGS+= -DPKGLOCALEDIR=\"${PKGLOCALEDIR}\"
+CPPFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\"
+
.if ${OPSYS} == "FreeBSD"
SUBST_CLASSES= thr
Home |
Main Index |
Thread Index |
Old Index