Opened 20 years ago

Closed 20 years ago

Last modified 9 years ago

#1715 closed defect (fixed)

pkgconfig configure error

Reported by: kristian.peters@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: kristian.peters@…
Port: pkgconfig

Description (last modified by ryandesign (Ryan Carsten Schmidt))

In order to build pkgconfig correctly, I need to add CPPFLAGS to configure.env. The patch below shows the difference:

--- darwinports/dports/devel/pkgconfig/Portfile	Mon Mar 22 15:25:10 2004
+++ korsebyports/pkgconfig/Portfile	Thu Apr  8 14:00:31 2004
@@ -14,4 +14,5 @@
 		 used to compile and link against one or more libraries.
 master_sites	${homepage}releases/
 checksums	md5 a7e4f60a6657dbc434334deb594cc242
+configure.env	CPPFLAGS="-no-cpp-precomp"
 configure.args	--mandir=${prefix}/share/man

Change History (6)

comment:1 Changed 20 years ago by toby@…

What version of Mac OS X are you running?

comment:2 Changed 20 years ago by imac@…

I am running OSX 10.2.8 very current on updates. Had this same problem with pkgconfig. The patch submitted by Kristian Peters did fix the problem for me, Thanks Kristian!

comment:3 Changed 20 years ago by toby@…

What is the problem? All I know so far is that it "builds incorrectly".

  • Toby

comment:4 Changed 20 years ago by kristian.peters@…

OS X 10.2.8 has only gcc 2.95. But for proper compiling without the CPPFLAGS you'll need gcc >= 3.1. I don't know if it's possible to create a variant for older versions or something similar.

comment:5 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

Committed this (inside platform darwin 6 {}).

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: pkgconfig added
Note: See TracTickets for help on using tickets.