Ticket #2843: Portfile.diff
File Portfile.diff, 865 bytes (added by markd@…, 19 years ago) |
---|
-
Portfile
old new 24 24 } 25 25 #use_xmkmf yes 26 26 configure { 27 system "cd ${worksrcpath} && imake -DUseInstalled -I/usr/X11R6/lib/X11/config -T ../../files/Port.tmpl"27 system "cd ${worksrcpath} && imake -DUseInstalled -I/usr/X11R6/lib/X11/config -T ${portpath}/${filesdir}/Port.tmpl" 28 28 } 29 29 pre-destroot { 30 30 # XXX 31 31 # need X11-in-prefix mtree 32 system "mkdir -p ${destroot}${prefix}/lib/X11/app-defaults" 32 xinstall -d -m 755 ${destroot}${prefix}/etc/X11/app-defaults 33 34 reinplace "s|XAPPLOADDIR = \$(LIBDIR)/app-defaults|XAPPLOADDIR = ${prefix}/etc/X11/app-defaults|g" \ 35 "${worksrcpath}/Makefile" 36 33 37 } 34 38 destroot.destdir DESTDIR=${destroot} prefix=${prefix} 35 39 build.args prefix=${prefix} JPEG_INCLUDES=-I${prefix}/include JPEG_LDFLAGS=-L${prefix}/lib