aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-01-14 07:16:30 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-01-14 07:16:30 +0000
commit9fdfa46055121019b03d3f1bc9e5d4fe97db90d6 (patch)
tree694522be6bb55ba9858e97eaf00e54aec556bce2 /x11/xlockmore
parent91e91b11ad66bde821f555f31ba9962637772105 (diff)
downloadports-9fdfa46055121019b03d3f1bc9e5d4fe97db90d6.tar.gz
ports-9fdfa46055121019b03d3f1bc9e5d4fe97db90d6.zip
Notes
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile3
-rw-r--r--x11/xlockmore/files/patch-aa20
2 files changed, 20 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index cb92d40ca422..bcbcb7b518d1 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -17,4 +17,7 @@ LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
+post-extract:
+ @cp ${FILESDIR}/flag-freebsd.h ${WRKSRC}/flags
+
.include <bsd.port.mk>
diff --git a/x11/xlockmore/files/patch-aa b/x11/xlockmore/files/patch-aa
index 06e6a56ffdcf..3fb99bf16ad4 100644
--- a/x11/xlockmore/files/patch-aa
+++ b/x11/xlockmore/files/patch-aa
@@ -1,5 +1,5 @@
--- Imakefile.orig Wed Dec 11 18:36:32 1996
-+++ Imakefile Wed Jan 8 20:07:52 1997
++++ Imakefile Thu Jan 9 18:17:25 1997
@@ -17,13 +17,13 @@
XCOMM If you get an error "Cannot find xpm.h" while compiling, set
@@ -16,7 +16,21 @@
#endif
-@@ -329,9 +329,9 @@
+@@ -255,7 +255,12 @@
+ PIXMAPTYPE = x11
+ FLAGTYPE = sysv
+ #else
+-#if defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || defined(i386BsdArchitecture)
++#if defined(FreeBSDArchitecture)
++ SLEEPDEF = -DHAS_USLEEP
++ BITMAPTYPE = bsd
++ PIXMAPTYPE = bsd
++ FLAGTYPE = freebsd
++#elif defined(NetBSDArchitecture) || defined(i386BsdArchitecture)
+ SLEEPDEF = -DHAS_USLEEP
+ BITMAPTYPE = bsd
+ PIXMAPTYPE = bsd
+@@ -329,9 +334,9 @@
XCOMM -DSTAFF_NETGROUP=\"/etc/xlock.netgroup\" netgroup that is exempt
XCOMM May have to combine in one long line if "+=" does not work
@@ -28,7 +42,7 @@
XCOMM OPTDEF += -DMULTIPLE_ROOT
XCOMM OPTDEF += -DOLD_EVENT_LOOP
XCOMM 0PTDEF += -DUSE_XLOCKRC
-@@ -357,8 +357,8 @@
+@@ -357,8 +362,8 @@
IMAGEBITMAP = $(MEDIUMBITMAP)
XCOMM IMAGEBITMAP = l-bob
XCOMM IMAGEBITMAP = m-xlock