RE: wip/kegs
"Larson, Timothy E." <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.review |
|---|---|
| Message-ID | <226316B3E1F749498E28ACA66321D5BA4A7A1AEB@oma00cexmbx03.corp.westworlds.com> |
> The rpath problem is still there.
> With PKG_DEVELOPER=yes, installation fails with:
> => Checking for missing run-time search paths in kegs-0.91
> ERROR: bin/xkegs: missing library: libXext.so.7
I've never used PKG_DEVELOPER before...it looks like something I ought to be, though. Thanks.
> Looking further back into the build log, I see:
> cc -O2 -I/usr/X11R7/include adb.o clock.o config.o dis.o engine_c.o
> scc.o iwm.o joystick_driver.o moremem.o paddles.o sim65816.o
> smartport.o sound.o sound_driver.o video.o scc_socket_driver.o
> scc_windriver.o scc_macdriver.o xdriver.o compile_time.o -o xkegs -
> L/usr/X11R7/lib -lXext -lX11
>
> There's a "-Wl,-R/usr/X11R7/lib" missing here.
>
> You should pass something like "${COMPILER_RPATH_FLAG}${X11BASE}/lib"
> to the compiler command line.
As this is a linker flag it seems to me that this is something I can add to LDFLAGS. But if I do LDFLAGS+=${COMPILER_RPATH_FLAG}${X11BASE}/lib in the package Makefile, it doesn't make it to the source Makefile, which has $(LDFLAGS) explicitly in the compile statements. This is one of those areas where I'm a little fuzzy on how the pkgsrc wrapper interacts with the source itself. I read Chapter 12 in the Pkgsrc Guide hoping it would have an example, but no luck.
Thanks,
Tim
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july