aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-01 00:36:31 +0800
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-01 00:36:31 +0800
commit646e26b2ac3ba0b068a049bb93cd3207d9c17e0b (patch)
tree34a9ebc1de4433ac7f6d5107dbdeb12a84d31122 /deskutils
parent08a26d77605b0b744522402fa311c5ec92d2aee8 (diff)
downloadfreebsd-ports-gnome-646e26b2ac3ba0b068a049bb93cd3207d9c17e0b.tar.gz
freebsd-ports-gnome-646e26b2ac3ba0b068a049bb93cd3207d9c17e0b.tar.zst
freebsd-ports-gnome-646e26b2ac3ba0b068a049bb93cd3207d9c17e0b.zip
1) The -fno-common fix attempt in r561452 was actually wrong: it marked
the declaration of the variable ``serverConnection'' as extern, but there is no corresponding definition of the variable, so it remained an unresolved symbol (that didn't result in a build failure, because GNUstep applications are linked as a shared object) 2) GC leftovers from r132311: unreferenced ADDITIONAL_LDFLAGS and bogus USES+=ghostscript (PDF viewer requires PDFKit framework which is not available from the Ports Collection) Reported by: naddy (1) Obtained from: Debian
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gworkspace/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/deskutils/gworkspace/Makefile b/deskutils/gworkspace/Makefile
index 95d3694c1489..bcbecf39d0f0 100644
--- a/deskutils/gworkspace/Makefile
+++ b/deskutils/gworkspace/Makefile
@@ -2,7 +2,7 @@
PORTNAME= gworkspace
PORTVERSION= 0.9.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= deskutils gnustep
#MASTER_SITES= http://www.gnustep.it/enrico/gworkspace/
MASTER_SITES= GNUSTEP/usr-apps
@@ -17,19 +17,6 @@ USE_GNUSTEP= back build
USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
GNU_CONFIGURE= yes
-ADDITIONAL_LDFLAGS+= -L${WRKSRC}/FSNode/FSNode.framework/Versions/A
-
-.if defined(WITHOUT_GHOSTSCRIPT)
-PLIST_SUB+= PDFVIEW="@comment "
-.else
-PLIST_SUB+= PDFVIEW=""
-USES+= ghostscript
-.endif
-
-post-patch:
-# Fix the build with -fno-common (for Clang 11 and GCC 10)
- @${REINPLACE_CMD} -e '/serverConnection/s,^,extern ,' \
- ${WRKSRC}/Inspector/ContentViewers/ImageViewer/Resizer.h
pre-configure:
${RM} -r ${WRKSRC}/GWMetadata