~cypheon/pkgsrc-wip

pkgsrc-wip/ncbi-lib/patches/patch-ab -rw-r--r-- 698 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.2 2006/03/28 05:15:17 mchittur Exp $

--- platform/netbsd.ncbi.mk.orig	2006-03-28 00:04:04.000000000 +0000
+++ platform/netbsd.ncbi.mk
@@ -19,7 +19,7 @@ NCBI_ALTLIB = /home/coremake/ncbi/altlib
 #will work only when you have Motif installed!
 NCBI_VIBFLAG = -I/usr/X11R6/include -L/usr/X11R6/lib -DWIN_MOTIF
 NCBI_VIBLIBS = -lXm -lXmu -lXp -lXpm -lXt -lX11 -lXext 
-NCBI_DISTVIBLIBS = -L/usr/X11R6/lib /usr/X11R6/lib/libXm.a /usr/X11R6/lib/libXp.a /usr/X11R6/lib/libXpm.a -lXmu -lXt -lX11 -lXext
+NCBI_DISTVIBLIBS = -L/usr/X11R6/lib -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lXp -lXpm -lXm -lXmu -lXt -lX11 -lXext
 NCBI_OTHERLIBS = -lm
 NCBI_RANLIB = ranlib
 # Used by makedis.csh