FreeBSD Bugzilla – Attachment 189168 Details for
Bug 224647
print/gl2ps: re-enable glut and pdflatex
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Re-enable GLUT and PDF
gl2ps.diff (text/plain), 1.97 KB, created by
Thierry Thomas
on 2017-12-28 16:05:59 UTC
(
hide
)
Description:
Re-enable GLUT and PDF
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2017-12-28 16:05:59 UTC
Size:
1.97 KB
patch
obsolete
>Index: print/gl2ps/Makefile >=================================================================== >--- print/gl2ps/Makefile (revision 457376) >+++ print/gl2ps/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= gl2ps > PORTVERSION= 1.4.0 >+PORTREVISION= 1 > CATEGORIES= print graphics > MASTER_SITES= http://www.geuz.org/gl2ps/src/ > >@@ -15,7 +16,9 @@ > LIB_DEPENDS= libpng.so:graphics/png > > USES= cmake:outsource tar:tgz >-USE_GL= gl >+USE_GL= gl glut >+USE_XORG= xi xmu >+USE_TEX= latex > USE_LDCONFIG= yes > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source > >Index: print/gl2ps/files/patch-CMakeLists.txt >=================================================================== >--- print/gl2ps/files/patch-CMakeLists.txt (revision 457376) >+++ print/gl2ps/files/patch-CMakeLists.txt (working copy) >@@ -1,6 +1,6 @@ > --- CMakeLists.txt.orig 2017-04-03 23:09:28 UTC > +++ CMakeLists.txt >-@@ -79,10 +79,9 @@ endif(NOT HAVE_VSNPRINTF) >+@@ -79,7 +79,7 @@ endif(NOT HAVE_VSNPRINTF) > find_package(OpenGL) > if(OPENGL_FOUND) > list(APPEND EXTERNAL_INCLUDES ${OPENGL_INCLUDE_DIR}) >@@ -8,11 +8,8 @@ > + list(APPEND EXTERNAL_LIBRARIES ${OPENGL_gl_LIBRARY}) > endif(OPENGL_FOUND) > >--find_package(GLUT) >- if(GLUT_FOUND) >- list(APPEND EXTERNAL_INCLUDES ${GLUT_INCLUDE_DIR}) >- list(APPEND EXTERNAL_LIBRARIES ${GLUT_LIBRARIES}) >-@@ -138,8 +137,7 @@ endif(WIN32) >+ find_package(GLUT) >+@@ -138,8 +138,7 @@ endif(WIN32) > > install(FILES gl2ps.h DESTINATION include) > install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${GL2PS_DOC}) >@@ -22,11 +19,3 @@ > install(FILES ${CMAKE_SOURCE_DIR}/gl2psTest.c DESTINATION ${GL2PS_DOC}) > install(FILES ${CMAKE_SOURCE_DIR}/gl2psTestSimple.c DESTINATION ${GL2PS_DOC}) > >-@@ -150,7 +148,6 @@ if(GLUT_FOUND) >- target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES}) >- endif(GLUT_FOUND) >- >--find_package(LATEX) >- if(PDFLATEX_COMPILER) >- add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex >- COMMAND ${PDFLATEX_COMPILER} ARGS ${CMAKE_SOURCE_DIR}/gl2ps.tex
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224647
: 189168