openbsd-ports/www/sogo/patches/patch-SOPE_NGCards_GNUmakefile_preamble
sebastia 392934d98e Major update to SOGo 2.0.2, essentially unfucking it on amd64.
Problem reported and tests from giovann@ and Jean Gerard
(jg at rilk.com).

finally OK giovanni@
same applies to the just updated SOPE, where I hit the go button
just too fast ;)
2012-10-30 15:09:53 +00:00

27 lines
957 B
Plaintext

$OpenBSD: patch-SOPE_NGCards_GNUmakefile_preamble,v 1.2 2012/10/30 15:09:53 sebastia Exp $
decouple the sope version number from the library interface number.
--- SOPE/NGCards/GNUmakefile.preamble.orig Wed Oct 24 21:00:02 2012
+++ SOPE/NGCards/GNUmakefile.preamble Fri Oct 26 12:11:38 2012
@@ -4,8 +4,8 @@ SOPE_ROOT=../..
ADDITIONAL_CPPFLAGS += \
-Wall -DCOMPILE_FOR_GSTEP_MAKE=1 \
- -DSOPE_MAJOR_VERSION=$(MAJOR_VERSION) \
- -DSOPE_MINOR_VERSION=$(MINOR_VERSION) \
+ -DSOPE_MAJOR_VERSION=$(SOPE_MAJOR_VERSION) \
+ -DSOPE_MINOR_VERSION=$(SOPE_MINOR_VERSION) \
-DSOPE_SUBMINOR_VERSION=$(SUBMINOR_VERSION)
ADDITIONAL_INCLUDE_DIRS += \
@@ -21,7 +21,7 @@ libNGCards_LIBRARIES_DEPEND_UPON += \
-lNGExtensions \
-lEOControl \
-lSaxObjC \
- -lgnustep-base -lobjc -lm
+ -lgnustep-base -lm
NGCards_LIBRARIES_DEPEND_UPON += \
-framework NGExtensions -framework EOControl \