Update the currently-out-of-date GNUstep ports.
Details
- Reviewers
bapt - Group Reviewers
portmgr - Commits
- rP391062: Update GNUstep ports to their latest versions.
Tested on a 10.0amd64 jail with poudriere testport. Needs testing on 9.x - is there a command to test multiple ports at once?
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I didn't, but since I'm testing on a 32-core machine I can probably do the equivalent overnight and save some project resource.
Updated the diff fixing a couple of issues after trying
- poudriere bulk -t -j 100amd64-testport -p theraven -f gnustep_ports
Where gnustep_ports contains every port that includes the word gnustep in its Makefile (therefore including anything with USES=gnustep). This now builds correctly. Build log:
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6607) | This was already an issue before -liconv should be ${ICONV_LIB} so USES=iconv deals by itself with iconv on 10+ when it is in libc |
18 ↗ | (On Diff #6607) | Should be USES_OPENSSL=yes (does it only work with portversion of libssl?) |
x11/terminal.app/Makefile | ||
21 ↗ | (On Diff #6607) | Same comment as above concerning -liconv |
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6607) | This breaks it. The problem is that a (transitive) build dependency depends on libiconv. This then means that the libiconv header - which does things like #define iconv_open libiconv_open is installed and picked up during compilation. The linker then complains that libiconv_open is not installed. |
18 ↗ | (On Diff #6607) | It should work with either. |
Added @tijl for the iconv part
@tijl: I think we have an issue with USES=iconv here, as ICONV_LIB is not defined on FreeBSD 10.1 beside the fact that libiconv is pulled in as a dependency which prevent here from using ICONV_LIB instead of hardcoded "-liconv"
@theraven: note that -liconv like this will fail on poudriere on FreeBSD 10.2 and "recent" head because iconv.mk will not grab a dependency on libiconv
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6607) | USES=iconv adds -DLIBICONV_PLUG to CPPFLAGS/CFLAGS/CXXFLAGS to omit those defines so check that the port respects these flags. You should be able to replace -liconv with ${ICONV_LIB} then. |
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6607) | Ah, that's the issue - OBJCFLAGS most needs to be set too. For this port and Terminal.app, I can do that, though it would be nice to do in a more generic way. |
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6619) | OBJCFLAGS are already passed to the env via objc.mk Just OBJCFLAGS+= CPPFLAGS in your port |
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6619) | This doesn't appear to work (and neither does OBJCFLAGS += ${CPPFLAGS}) |
mail/pantomime/Makefile | ||
---|---|---|
13 ↗ | (On Diff #6619) | Maybe USES=iconv should just add -DLIBICONV_PLUG to OBJCFLAGS too. |
Address iconv issues.
USES= iconv now sets the correct flag in OBJCFLAGS
USES= gnustep now propagates OBJCFLAGS into the stupidly named variable that GNUstep Make uses.