ports/104251: [PATCH] graphics/pixie: builds, but doesn't run

Sergey Zaharchenko doublef-ctm at yandex.ru
Wed Oct 11 13:30:30 UTC 2006


The following reply was made to PR ports/104251; it has been noted by GNATS.

From: Sergey Zaharchenko <doublef-ctm at yandex.ru>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/104251: [PATCH] graphics/pixie: builds, but doesn't run
Date: Wed, 11 Oct 2006 17:20:38 +0400

 + Add a missing static library to pkg-plist so that it gets
   deinstalled correctly.
 
 * Install ldconfig configuration file so that the user doesn't have to
   specify LD_LIBRARY_PATH.
 
 - The pkg-message is not needed.
 
 diff -udr pixie.orig/Makefile pixie/Makefile
 --- pixie.orig/Makefile	Sun Sep  3 11:35:51 2006
 +++ pixie/Makefile	Wed Oct 11 16:56:56 2006
 @@ -28,14 +28,13 @@
  		CXXFLAGS="${CXXFLAGS} -O -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
  		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
  		LIBS="${PTHREAD_LIBS}"
 -USE_LDCONFIG=	yes
 -LDCONFIG_DIRS=	%%PREFIX%%/lib/${PORTNAME}
 +CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/${PORTNAME} --with-shaderdir=${PREFIX}/share/${PORTNAME}/shaders --with-modeldir=${PREFIX}/share/${PORTNAME} --with-texturedir=${PREFIX}/share/${PORTNAME} --with-proceduraldir=${PREFIX}/share/${PORTNAME} --with-displaysdir=${PREFIX}/lib/${PORTNAME}
 +USE_LDCONFIG=	%%PREFIX%%/lib/${PORTNAME}
  WRKSRC=		${WRKDIR}/Pixie
  
  PIXIE_EXES=	precomp rndr sdrc sdrinfo show texmake
  PIXIE_SHLIBS=	file framebuffer rgbe
  
 -SUB_FILES=	pkg-message
  SUB_LIST+=	PORTNAME=${PORTNAME}
  
  .include <bsd.port.pre.mk>
 @@ -68,7 +67,7 @@
  # libs
  	# avoid conflicts by installing in separate dir
  	@${MKDIR} ${PREFIX}/lib/${PORTNAME}
 -.for i in sdr ri
 +.for i in sdr ri common
  	${INSTALL_DATA} ${WRKSRC}/src/${i}/.libs/lib${i}.a \
  		${PREFIX}/lib/${PORTNAME}
  	${INSTALL_PROGRAM} ${WRKSRC}/src/${i}/.libs/lib${i}.so.0 \
 @@ -104,8 +103,5 @@
  	${INSTALL_DATA} ${WRKSRC}/doc/${i}/* ${DOCSDIR}/${i}
  .endfor
  .endif
 -
 -post-install:
 -	@${CAT} ${PKGMESSAGE}
  
  .include <bsd.port.post.mk>
 Only in pixie.orig/files: pkg-message.in
 diff -udr pixie.orig/pkg-plist pixie/pkg-plist
 --- pixie.orig/pkg-plist	Tue Oct 10 12:09:26 2006
 +++ pixie/pkg-plist	Wed Oct 11 16:42:12 2006
 @@ -12,6 +12,9 @@
  include/pixie/shadeop.h
  lib/pixie/file.so
  lib/pixie/framebuffer.so
 +lib/pixie/libcommon.a
 +lib/pixie/libcommon.so
 +lib/pixie/libcommon.so.0
  lib/pixie/libri.a
  lib/pixie/libri.so
  lib/pixie/libri.so.0



More information about the freebsd-ports-bugs mailing list