aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
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 /deskutils
parent04072344a8826a16b79fc696148b58a5e9641496 (diff)
downloadfreebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.tar.gz
freebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.tar.zst
freebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.zip
- fix build on i386
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/etoile-corner/Makefile8
-rw-r--r--deskutils/etoile-dictionaryreader/Makefile8
-rw-r--r--deskutils/etoile-scriptservices/Makefile8
3 files changed, 21 insertions, 3 deletions
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>