Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168933 - Making mapserver dependent of apache through 'apache' USE flag
Summary: Making mapserver dependent of apache through 'apache' USE flag
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 21:32 UTC by Dirk Tilger
Modified: 2007-03-02 02:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to the MapServer 4.10.0 ebuild to make it dependent on apache only when 'apache' USE var set (mapserver-without-apache.diff,2.57 KB, patch)
2007-03-01 21:36 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Tilger 2007-03-01 21:32:23 UTC
Although MapServer traditionally comes as CGI for a webserver, it also comes as extension for various programming languages. Through these extensions low level functionality of MapServer is available, which makes it suitable for usage as a mini GIS SDK without a webserver.

The attached patch makes the CGI part dependent of the 'apache' USE flag and allows to use MapServer without a webserver.
Comment 1 Dirk Tilger 2007-03-01 21:36:49 UTC
Created attachment 111738 [details, diff]
Patch to the MapServer 4.10.0 ebuild to make it dependent on apache only when 'apache'  USE var set

The build process has been tested with and without apache. I had to rearrange the IUSE that blowed the patch visually a bit. Sorry for that.  ;)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 02:28:22 UTC
<snip>
+if use apache
+then
+	inherit webapp 
+fi
</snip>

This is not allowed, it kills metadata caching. Do not do such things in ebuilds.