aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-01-14 15:16:30 +0800
committertg <tg@FreeBSD.org>1997-01-14 15:16:30 +0800
commit45ff5e587ea9e620c3240f59ed7bea2d7ba0bdae (patch)
tree2472a412b5164b95667331b251d24dc5090b343a /x11
parentf280dd04fb9cf9f04c37539dd70349105c3de457 (diff)
downloadfreebsd-ports-gnome-45ff5e587ea9e620c3240f59ed7bea2d7ba0bdae.tar.gz
freebsd-ports-gnome-45ff5e587ea9e620c3240f59ed7bea2d7ba0bdae.tar.zst
freebsd-ports-gnome-45ff5e587ea9e620c3240f59ed7bea2d7ba0bdae.zip
Use flag-freebsd.h, submitted by Philippe Regnauld <regnauld@deepo.prosa.dk>.
Diffstat (limited to 'x11')
-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