pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xcalib Provide library search paths, not only rpat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d020605365a1
branches:  trunk
changeset: 643102:d020605365a1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 10 23:27:31 2014 +0000

description:
Provide library search paths, not only rpaths, explicitly.

diffstat:

 x11/xcalib/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 78339056a797 -r d020605365a1 x11/xcalib/Makefile
--- a/x11/xcalib/Makefile       Wed Dec 10 23:27:01 2014 +0000
+++ b/x11/xcalib/Makefile       Wed Dec 10 23:27:31 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/02/08 12:59:31 wiedi Exp $
+# $NetBSD: Makefile,v 1.5 2014/12/10 23:27:31 joerg Exp $
 #
 
 DISTNAME=      xcalib-source-0.8
@@ -22,8 +22,10 @@
 do-build:
        cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c xcalib.c
        cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} \
-               ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib \
-               ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm}/lib \
+               ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib \
+               -L${BUILDLINK_PREFIX.libX11}/lib \
+               ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm}/lib \
+               -L${BUILDLINK_PREFIX.libXxf86vm}/lib \
                -lm -lX11 -lXxf86vm \
                -o xcalib xcalib.lo
 



Home | Main Index | Thread Index | Old Index