ports/58573: x11-toolkits/freeglut: upgrading to 2.0.1.
Thierry Thomas
thierry at pompo.net
Sun Oct 26 16:20:22 UTC 2003
>Number: 58573
>Category: ports
>Synopsis: x11-toolkits/freeglut: upgrading to 2.0.1.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 26 08:20:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD ws90bj.pompo.net 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Tue Oct 14 23:06:50 CEST 2003 root at ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-031014 i386
>Description:
Upgrade freeglut to its latest release.
>How-To-Repeat:
N/A.
>Fix:
Please apply the following patch:
--- freeglut.diff begins here ---
diff -u x11-toolkits/freeglut.orig/Makefile x11-toolkits/freeglut/Makefile
--- x11-toolkits/freeglut.orig/Makefile Sun Oct 5 23:02:14 2003
+++ x11-toolkits/freeglut/Makefile Sun Oct 26 12:15:01 2003
@@ -6,7 +6,7 @@
#
PORTNAME= freeglut
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -33,14 +33,14 @@
DOCS= download.html freeglut.html freeglut_logo.png \
freeglut_user_interface.html index.html ogl_sm.png \
progress.html structure.html
-BINS= fractals fractals_random lorenz one
+BINS= Fractals Fractals_random Lorenz One
post-patch:
@${REINPLACE_CMD} -e "s|/usr/X11R6|${X11BASE}|g" \
-e "s|/usr/local|${LOCALBASE}|g" \
${WRKSRC}/aclocal.m4
.for fract in /fractals.c _random/fractals_random.c
- ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
+ @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
${WRKSRC}/progs/demos/Fractals${fract}
.endfor
@@ -55,13 +55,10 @@
@${INSTALL_DATA} ${WRKSRC}/progs/demos/Fractals/fractals.dat \
${EXAMPLESDIR}
.for FILE in ${BINS}
- @${MV} ${PREFIX}/bin/${FILE} ${EXAMPLESDIR}
+ @${INSTALL_PROGRAM} ${WRKSRC}/progs/demos/${FILE}/.libs/${FILE:L} \
+ ${EXAMPLESDIR}
.endfor
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-.else
-.for FILE in ${BINS}
- @${RM} ${PREFIX}/bin/${FILE}
-.endfor
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE} | \
diff -u x11-toolkits/freeglut.orig/distinfo x11-toolkits/freeglut/distinfo
--- x11-toolkits/freeglut.orig/distinfo Sun Oct 5 23:02:14 2003
+++ x11-toolkits/freeglut/distinfo Sat Oct 25 21:49:41 2003
@@ -1 +1 @@
-MD5 (freeglut-2.0.0.tar.gz) = 06ab94ab2fbbce61644780e1d746bf34
+MD5 (freeglut-2.0.1.tar.gz) = da82607f76eb218539ee2265080b10ec
Common subdirectories: x11-toolkits/freeglut.orig/files and x11-toolkits/freeglut/files
--- freeglut.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list