Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19186 closed defect (fixed)

move strigi to cmake portgroup and allow universal building

Reported by: illogic-al@… Owned by: clubjuggler@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port:

Description

This ticket is petitioning to move the strigi portfile to use the cmake portgroup. In addition to making configuration easier, it has the advantage of allowing strigi to be built as a universal portfile easily.

Index: ../devel/strigi/Portfile
===================================================================
--- ../devel/strigi/Portfile    (revision 48876)
+++ ../devel/strigi/Portfile    (working copy)
@@ -1,6 +1,7 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem  1.0
+PortGroup   cmake 1.0
 
 name           strigi
 version                0.6.3
@@ -16,7 +17,6 @@
 patchfiles      strigi-fix-check-gcc-visibility-macro-ccache.patch
 patch.pre_args  -p1
 
-depends_build  port:cmake
 depends_lib     port:bzip2 \
                 port:clucene \
                 port:dbus \
@@ -31,11 +31,6 @@
 # build, so for now this is an in-source build. That does, however, simplify
 # things because the build and destroot phases can be left at the default
 # values.
-# Let's try to use as much as possible and just override the
-# configure.cmd and configure.pre_args (setting the prefix)
-configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix} \
-                    -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake
-configure.cmd   cmake
 
 post-destroot  {
                xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}

Patch has been tested and it works. I'll apply myself if there's a maintainer timeout but anyone else feel free as I might be unavailable/forget during the week.

Change History (3)

comment:1 Changed 15 years ago by illogic-al@…

Owner: changed from macports-tickets@… to clubjuggler@…

comment:2 Changed 15 years ago by illogic-al@…

Resolution: fixed
Status: newclosed

Fixed in r49367

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.