summaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-06-07 07:46:48 +0000
committerjylefort <jylefort@FreeBSD.org>2005-06-07 07:46:48 +0000
commit741d2cfb3705ec49822dd0f3642531fcf7b26b03 (patch)
treeb6ef25479fc716b376f81ec64a60f9c6aed85de8 /x11-themes
parentca324a75481ebc7ef7437fd6b2be6cb47cc3eed8 (diff)
downloadFreeBSD-ports-741d2cfb3705ec49822dd0f3642531fcf7b26b03.zip
FreeBSD-ports-741d2cfb3705ec49822dd0f3642531fcf7b26b03.tar.gz
Compile with the -fPIC flag, which is needed on some platforms.
Reported by: pointyhat
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-bluecurve-theme/Makefile2
-rw-r--r--x11-themes/qt-bluecurve-theme/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11-themes/gtk-bluecurve-theme/Makefile b/x11-themes/gtk-bluecurve-theme/Makefile
index 3fc277e..f01396f 100644
--- a/x11-themes/gtk-bluecurve-theme/Makefile
+++ b/x11-themes/gtk-bluecurve-theme/Makefile
@@ -45,7 +45,7 @@ post-patch:
do-build:
.for v in 1 2
cd ${GTK${v}_WRKSRC} && \
- ${CC} ${CFLAGS} -Wl,-export-dynamic -shared \
+ ${CC} ${CFLAGS} -Wl,-export-dynamic -shared -fPIC \
${GTK${v}_CFLAGS} ${GTK${v}_LIBS} -o libbluecurve.so \
${GTK${v}_SOURCES}
.endfor
diff --git a/x11-themes/qt-bluecurve-theme/Makefile b/x11-themes/qt-bluecurve-theme/Makefile
index 5eeb1fd..50f8c14 100644
--- a/x11-themes/qt-bluecurve-theme/Makefile
+++ b/x11-themes/qt-bluecurve-theme/Makefile
@@ -29,7 +29,7 @@ post-patch:
do-build:
cd ${BUILD_WRKSRC} && \
${MOC} -o bluecurve.moc bluecurve.h && \
- ${CXX} ${CXXFLAGS} -Wl,-export-dynamic -shared \
+ ${CXX} ${CXXFLAGS} -Wl,-export-dynamic -shared -fPIC \
${QT_CFLAGS} ${QT_LIBS} -o bluecurve.so \
bluecurve.cpp plugin.cpp
OpenPOWER on IntegriCloud