aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cscout
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2008-07-18 16:27:09 +0800
committerdds <dds@FreeBSD.org>2008-07-18 16:27:09 +0800
commitf8837eeb6d2194d57cc418133bfd63fa914e390c (patch)
tree3794c772a9625e2c03741c03c2dc9fa541ed7b02 /devel/cscout
parentbf20a2d7157cbe21b74c11cc6446442abdfd7068 (diff)
downloadfreebsd-ports-gnome-f8837eeb6d2194d57cc418133bfd63fa914e390c.tar.gz
freebsd-ports-gnome-f8837eeb6d2194d57cc418133bfd63fa914e390c.tar.zst
freebsd-ports-gnome-f8837eeb6d2194d57cc418133bfd63fa914e390c.zip
Move the unexec cmp lines before the files that are compared, so that
during deinstallation the corresponding files will still exist for comparison. Found by: itetcu (tinderbox-2.4.3)
Diffstat (limited to 'devel/cscout')
-rw-r--r--devel/cscout/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cscout/pkg-plist b/devel/cscout/pkg-plist
index 3bf824936560..b80f027c483f 100644
--- a/devel/cscout/pkg-plist
+++ b/devel/cscout/pkg-plist
@@ -3,12 +3,14 @@ bin/csmake
bin/cswc
etc/cscout/acl
etc/cscout/cscout_defs.BORLAND
+@unexec if cmp -s %D/etc/cscout/cscout_defs.h %D/etc/cscout/cscout_defs.FBSD_GCC ; then rm -f %D/etc/cscout/cscout_defs.h; fi
etc/cscout/cscout_defs.FBSD_GCC
etc/cscout/cscout_defs.GENERIC
etc/cscout/cscout_defs.GENERIC_GCC
etc/cscout/cscout_defs.LINUX_GCC
etc/cscout/cscout_defs.WIN32_MINGW
etc/cscout/cscout_defs.WIN32_MSC
+@unexec if cmp -s %D/etc/cscout/cscout_incs.h %D/etc/cscout/cscout_incs.FBSD_GCC ; then rm -f %D/etc/cscout/cscout_incs.h; fi
etc/cscout/cscout_incs.FBSD_GCC
etc/cscout/cscout_incs.GENERIC
etc/cscout/cscout_incs.LINUX_GCC
@@ -105,8 +107,6 @@ etc/cscout/cscout_incs.WIN32_MSC
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bin.prj
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mkproj
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sh.prj
-@unexec if cmp -s %D/etc/cscout/cscout_defs.h %D/etc/cscout/cscout_defs.FBSD_GCC ; then rm -f %D/etc/cscout/cscout_defs.h; fi
-@unexec if cmp -s %D/etc/cscout/cscout_incs.h %D/etc/cscout/cscout_incs.FBSD_GCC ; then rm -f %D/etc/cscout/cscout_incs.h; fi
@dirrmtry etc/cscout
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/.cscout