aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-07-14 21:46:22 +0800
committerosa <osa@FreeBSD.org>2004-07-14 21:46:22 +0800
commitfe9281f91242b2316ff0df16cbfcd5edbf692c9d (patch)
tree821a8a103e9aae97644ca43f209e8e84d3d1d236
parentc4b2cca2860e668bd76a75147cf07a850a758aad (diff)
downloadfreebsd-ports-gnome-fe9281f91242b2316ff0df16cbfcd5edbf692c9d.tar.gz
freebsd-ports-gnome-fe9281f91242b2316ff0df16cbfcd5edbf692c9d.tar.zst
freebsd-ports-gnome-fe9281f91242b2316ff0df16cbfcd5edbf692c9d.zip
Respect CFLAGS.
Move one file from pkg-plist to Makefile and remove pkg-plist.
-rw-r--r--sysutils/xsysstats/Makefile2
-rw-r--r--sysutils/xsysstats/files/patch-Makefile.in2
-rw-r--r--sysutils/xsysstats/pkg-plist2
3 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/xsysstats/Makefile b/sysutils/xsysstats/Makefile
index 4d3ca9eb6075..f1958eb19de8 100644
--- a/sysutils/xsysstats/Makefile
+++ b/sysutils/xsysstats/Makefile
@@ -24,6 +24,8 @@ MAN1= xsysstats.1
ALL_TARGET= xsysstats
+PLIST_FILES= bin/xsysstats
+
pre-patch:
${RM} ${WRKSRC}/headers.h && ${TOUCH} ${WRKSRC}/headers.h
diff --git a/sysutils/xsysstats/files/patch-Makefile.in b/sysutils/xsysstats/files/patch-Makefile.in
index b409e3934ba6..d5efe31d1f40 100644
--- a/sysutils/xsysstats/files/patch-Makefile.in
+++ b/sysutils/xsysstats/files/patch-Makefile.in
@@ -5,7 +5,7 @@
-CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
+#CC = @CC@
-+CFLAGS = -I@x_includes@
++CFLAGS = @CFLAGS@ -I@x_includes@
+#CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
diff --git a/sysutils/xsysstats/pkg-plist b/sysutils/xsysstats/pkg-plist
deleted file mode 100644
index 174084ca2b81..000000000000
--- a/sysutils/xsysstats/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $FreeBSD$
-bin/xsysstats