SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000842SOGoSOPEpublic2010-09-18 11:272011-03-30 15:47
Reporterbuzzdee 
Assigned Towsourdeau 
PrioritynormalSeveritytweakReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.3.1 
Target VersionFixed in Version1.3.6 
Summary0000842: prevent SOPE from linking against gnustep-gui when it is installed -- with patch
DescriptionI recognized that when compiling SOPE, from the sope-1.3.1.tar.gz, then it links against gnustep-gui, in case it is installed.

A patch to the ./configure script is attached, in order to add a
NEEDS_GUI=no statement to the config.make file that gets created.
Additional Informationtested with gnustep-make-2.4.0 and gnustep-base-1.20.1 on OpenBSD 4.8.

NOTE: This patch also switches the shell to use, now /bin/sh instead of /bin/bash.
Since on OpenBSD bash installs to /usr/local/bin/bash and there is no link in /bin to it. This is probably also true for other *BSD. /bin/sh is a hardlink to /bin/ksh on OpenBSD.
TagsNo tags attached.
Attached Files? file icon patch-configure [^] (563 bytes) 2010-09-18 11:27 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0001483)
wsourdeau (viewer)
2010-09-20 10:01

The reason why "/bin/bash" is used is because the script makes use of "bashisms" and on FHS systems all the shells are available from /bin/. Is it possible to work-around this in your port file instead?
(0001485)
buzzdee (reporter)
2010-09-20 10:51

In 1.3.0, the configure script was full with bashisms, but in 1.3.1, its not anymore, at least it works for me with ksh. I have to admit, haven't tested with other possible /bin/sh's. Anyways, its no problem for the port to patch the configure script to exchange /bin/bash with /bin/sh.

But the NEEDS_GUI=no hopefully makes sense to add.
(0002325)
wsourdeau (viewer)
2011-03-30 15:47

Fixed in a3d4e55651cc3665bc700bca6ff9fe90cfdd5a85. Thanks. NOte that this does not seem to be needed with recent versinos of gnustep-make...

- Issue History
Date Modified Username Field Change
2010-09-18 11:27 buzzdee New Issue
2010-09-18 11:27 buzzdee File Added: patch-configure
2010-09-20 10:01 wsourdeau Note Added: 0001483
2010-09-20 10:51 buzzdee Note Added: 0001485
2011-03-30 15:47 wsourdeau Note Added: 0002325
2011-03-30 15:47 wsourdeau Status new => resolved
2011-03-30 15:47 wsourdeau Fixed in Version => 1.3.6
2011-03-30 15:47 wsourdeau Resolution open => fixed
2011-03-30 15:47 wsourdeau Assigned To => wsourdeau


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker