aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-04-21 12:21:55 +0800
committerdinoex <dinoex@FreeBSD.org>2011-04-21 12:21:55 +0800
commit0799df7a8dea209ebbf919e537529a773a681de4 (patch)
treede7d9bbf9ff6a43bb7b3f4c0e7c661aa24a3877d
parent04072344a8826a16b79fc696148b58a5e9641496 (diff)
downloadfreebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.tar.gz
freebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.tar.zst
freebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.zip
- fix build on i386
-rw-r--r--audio/etoile-melodie/Makefile8
-rw-r--r--deskutils/etoile-corner/Makefile8
-rw-r--r--deskutils/etoile-dictionaryreader/Makefile8
-rw-r--r--deskutils/etoile-scriptservices/Makefile8
-rw-r--r--lang/etoile-compiler/Makefile8
-rw-r--r--x11-wm/etoile-azswitch/Makefile8
6 files changed, 42 insertions, 6 deletions
diff --git a/audio/etoile-melodie/Makefile b/audio/etoile-melodie/Makefile
index b98bec9529dc..021480623d06 100644
--- a/audio/etoile-melodie/Makefile
+++ b/audio/etoile-melodie/Makefile
@@ -53,4 +53,10 @@ post-configure:
${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/etoile.make \
${WRKSRC}/Services/User/Melodie/GNUmakefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/etoile-corner/Makefile b/deskutils/etoile-corner/Makefile
index c3d1c1ec5dfb..7ff6b61631d9 100644
--- a/deskutils/etoile-corner/Makefile
+++ b/deskutils/etoile-corner/Makefile
@@ -35,4 +35,10 @@ SMALLTALKKIT_PORT?= lang/etoile-smalltalkkit
SCRIPTKIT_PORT?= lang/etoile-scriptkit
LANGUAGEKIT_PORT?= lang/etoile-languagekit
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/etoile-dictionaryreader/Makefile b/deskutils/etoile-dictionaryreader/Makefile
index e29644f66a96..c557a6d6b126 100644
--- a/deskutils/etoile-dictionaryreader/Makefile
+++ b/deskutils/etoile-dictionaryreader/Makefile
@@ -29,4 +29,10 @@ USE_GNUSTEP_MAKE_DIRS+= Services/User/DictionaryReader
ETOILE_UI_PORT?= deskutils/etoile-ui
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/etoile-scriptservices/Makefile b/deskutils/etoile-scriptservices/Makefile
index 84dcbd8eba4e..53f97123a87e 100644
--- a/deskutils/etoile-scriptservices/Makefile
+++ b/deskutils/etoile-scriptservices/Makefile
@@ -39,4 +39,10 @@ post-install:
cd ${MORE_SRC} && ${INSTALL_DATA} today.plist ${MORE_DEST}
cd ${MORE_SRC} && ${INSTALL_SCRIPT} ${EXAMPLE} ${MORE_DEST}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/etoile-compiler/Makefile b/lang/etoile-compiler/Makefile
index 1cb058bd2f8f..410479c7412f 100644
--- a/lang/etoile-compiler/Makefile
+++ b/lang/etoile-compiler/Makefile
@@ -36,4 +36,10 @@ FOUNDATION_PORT?= devel/etoile-foundation
LANGUAGEKIT_PORT?= lang/etoile-languagekit
SMALLTALKKIT_PORT?= lang/etoile-smalltalkkit
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-wm/etoile-azswitch/Makefile b/x11-wm/etoile-azswitch/Makefile
index 2d3e5397cf7f..0d6d20210084 100644
--- a/x11-wm/etoile-azswitch/Makefile
+++ b/x11-wm/etoile-azswitch/Makefile
@@ -31,4 +31,10 @@ USE_GNUSTEP_MAKE_DIRS+= Services/Private/AZSwitch
XWINDOWSERVERKIT_PORT?= x11/etoile-xwindowserverkit
ETOILE_UI_PORT?= deskutils/etoile-ui
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>