pkgsrc-Users archive

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

Re: epiphany



On Thu, Jun 21, 2012 at 04:56:26PM +0100, Patrick Welche wrote:
> I find I need
> 
> --- Makefile    14 Jun 2012 07:43:16 -0000      1.126
> +++ Makefile    21 Jun 2012 15:54:43 -0000
> @@ -21,6 +21,7 @@
>  
>  # see pkgsrc/security/mozilla-rootcerts
>  CONFIGURE_ARGS+=       --with-ca-file=/etc/ssl/certs/ca-certificates.crt
> +LIBS+=                 -lexecinfo
>  
>  PKGCONFIG_OVERRIDE=    data/epiphany.pc.in
>  
> 
> 
> to compile epiphany, which checks for execinfo.h, but not libexecinfo...
> I don't think that the above is a general fix...

A few other packages already have:
.include "../../mk/bsd.prefs.mk"

# for backtrace
.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
LIBS+=  -lexecinfo
.endif

That's probably fine.
 Thomas


Home | Main Index | Thread Index | Old Index