Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 09:56:45 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42899: Update port: graphics/qslim
Message-ID:  <200209171656.g8HGujtA021728@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42899
>Category:       ports
>Synopsis:       Update port: graphics/qslim
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 17 10:30:20 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly

>How-To-Repeat:

>Fix:
diff -ur /usr/ports/graphics/qslim/Makefile graphics/qslim/Makefile
--- /usr/ports/graphics/qslim/Makefile	Tue Sep 10 20:12:37 2002
+++ graphics/qslim/Makefile	Sun Sep 15 04:56:29 2002
@@ -13,25 +13,32 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	forms.1:${PORTSDIR}/x11-toolkits/xforms \
-		gnugetopt:${PORTSDIR}/devel/libgnugetopt \
-		tiff:${PORTSDIR}/graphics/tiff \
-		png:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+		png.5:${PORTSDIR}/graphics/png \
+		tiff.4:${PORTSDIR}/graphics/tiff \
+		forms.1:${PORTSDIR}/x11-toolkits/xforms
 
-USE_REINPLACE=	yes
-USE_MESA=	yes
-USE_XLIB=	yes
 CONFIGURE_WRKSRC=	${WRKSRC}/mixkit/build
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	\
-	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}" \
-	LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib ${PTHREAD_LIBS}"
 BUILD_WRKSRC=	${WRKSRC}/mixkit/src
+
+USE_MESA=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
-ALL_TARGET=	# empty
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+ALL_TARGET=	# none
+
+CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include \
+		-I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib \
+		${PTHREAD_LIBS}
+
+post-extact:
+	@${RM} -f ${WRKSRC}/mixkit/src/getopt.h
 
 post-patch:
-	@${REINPLACE_CMD} -e "s,\@XFORMS_LIBS\@,-lforms -lformsGL -lXpm,g" ${CONFIGURE_WRKSRC}/mix-config.in
+	@${REINPLACE_CMD} -e 's|\@XFORMS_LIBS\@|-lforms -lformsGL -lXpm|g' \
+		${CONFIGURE_WRKSRC}/mix-config.in
 
 post-build:
 	@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
@@ -43,6 +50,5 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/tools/qslim/qvis ${PREFIX}/bin
 	@${MKDIR} ${PREFIX}/include/mixkit
 	${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit
-	@${RM} -f ${PREFIX}/include/mixkit/getopt.h
 
 .include <bsd.port.mk>
diff -ur /usr/ports/graphics/qslim/pkg-plist graphics/qslim/pkg-plist
--- /usr/ports/graphics/qslim/pkg-plist	Mon Jan  7 01:34:32 2002
+++ graphics/qslim/pkg-plist	Sun Sep 15 04:47:17 2002
@@ -1,6 +1,5 @@
 bin/qslim
 bin/qvis
-lib/libmix.a
 include/mixkit/MxArcball.h
 include/mixkit/MxAsp.h
 include/mixkit/MxBlock.h
@@ -46,4 +45,5 @@
 include/mixkit/mixmsg.h
 include/mixkit/mixvops.h
 include/mixkit/stdmix.h
+lib/libmix.a
 @dirrm include/mixkit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209171656.g8HGujtA021728>