diff options
author | martymac <martymac@FreeBSD.org> | 2011-06-24 17:32:25 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2011-06-24 17:32:25 +0800 |
commit | b61faa3d5d41e9448a68944abfce8b35c09a3c8b (patch) | |
tree | 20d82aa86779a5d506f1ee60d777dd78301a5496 /deskutils/notecase | |
parent | ac169fee9b42ed97fb608f930f7d7bc7b8a2a58e (diff) | |
download | freebsd-ports-gnome-b61faa3d5d41e9448a68944abfce8b35c09a3c8b.tar.gz freebsd-ports-gnome-b61faa3d5d41e9448a68944abfce8b35c09a3c8b.tar.zst freebsd-ports-gnome-b61faa3d5d41e9448a68944abfce8b35c09a3c8b.zip |
Link against base libz and do not use embedded libz anymore.
This change will also fix build with clang.
Diffstat (limited to 'deskutils/notecase')
-rw-r--r-- | deskutils/notecase/Makefile | 2 | ||||
-rw-r--r-- | deskutils/notecase/files/patch-Makefile | 18 |
2 files changed, 14 insertions, 6 deletions
diff --git a/deskutils/notecase/Makefile b/deskutils/notecase/Makefile index 4e186e58e1ae..86ea47f1df6d 100644 --- a/deskutils/notecase/Makefile +++ b/deskutils/notecase/Makefile @@ -7,7 +7,7 @@ PORTNAME= notecase PORTVERSION= 1.9.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= deskutils textproc MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}_src diff --git a/deskutils/notecase/files/patch-Makefile b/deskutils/notecase/files/patch-Makefile index 269abac95ca9..de6491374d24 100644 --- a/deskutils/notecase/files/patch-Makefile +++ b/deskutils/notecase/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2008-12-09 10:07:06.000000000 +0000 -+++ Makefile 2010-11-16 17:57:07.716769729 +0000 +--- Makefile.orig 2008-12-09 11:07:06.000000000 +0100 ++++ Makefile 2011-06-23 19:11:55.067358819 +0200 @@ -10,9 +10,10 @@ VERSION=1.9.8 @@ -12,7 +12,15 @@ # define top of RPM build area topdir=/usr/src/redhat -@@ -601,18 +602,20 @@ +@@ -268,7 +269,6 @@ + $(OBJ)/IOLayerRedirect.o $(OBJ)/FileExportDlg.o $(OBJ)/FormatIOTxt.o $(OBJ)/FindReplaceDlg.o \ + $(OBJ)/FindReplaceInfo.o $(OBJ)/LinkInfo.o $(OBJ)/LinkPropertiesDlg.o $(OBJ)/ExecuteFile.o \ + $(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o \ +- $(OBJ)/libz.a \ + $(OBJ)/ProgressDlg.o $(OBJ)/DocActionPix.o $(OBJ)/DocActionFinish.o $(OBJ)/DocActionFmt.o $(OBJ)/FmtInfo.o \ + $(OBJ)/FileAttachmentDlg.o $(OBJ)/DocActionAtt.o $(OBJ)/PixPropertiesDlg.o $(OBJ)/DocActionFinishDel.o \ + $(OBJ)/ShortcutsList.o $(OBJ)/ShortcutsListDlg.o $(OBJ)/DateTimeDlg.o $(OBJ)/AboutDlg.o $(OBJ)/EditDlg.o \ +@@ -601,18 +601,20 @@ pouninstall: @rm -vf $(DESTDIR)$(datadir)/locale/*/LC_MESSAGES/notecase.mo @echo done uninstalling translations @@ -36,7 +44,7 @@ $(INSTALL) -m 644 docs/notecase.xml "$(DESTDIR)$(datadir)/mime/packages/notecase.xml" $(Q)if [ -n "$(NOKIA_MAEMO_BUILD)" ]; then \ $(INSTALL) -m 644 docs/notecase.desktop "$(DESTDIR)$(datadir)/applications/hildon/notecase.desktop"; \ -@@ -694,12 +697,6 @@ +@@ -694,12 +696,6 @@ echo 'pkg-config error detected $(shell pkg-config --cflags $(LIBS))';\ exit 1;\ fi; @@ -49,7 +57,7 @@ $(Q)echo 'Configuration: GNOME_VFS=$(HAVE_GNOME_VFS);GTKSOURCEVIEW=$(HAVE_GTKSOURCEVIEW);DEBUG=$(DEBUG);PROFILE=$(PROFILE);BYTE_ORDER=$(BYTE_ORDER);PLATFORM=$(PLATFORM)' $(Q)$(SED) 's/^Version:.*/Version: $(VERSION)/' ./docs/notecase.spec $(Q)$(SED) 's/^Source:.*/Source: $(archive)_src.tar.gz/' ./docs/notecase.spec -@@ -820,7 +817,7 @@ +@@ -820,7 +816,7 @@ # # Note: first "make" command forces generating correct help file path in "config.h" # |